mirror of
https://github.com/RGBCube/serenity
synced 2025-05-18 12:55:07 +00:00
LibGUI: Make GCheckBox inherit from GAbstractButton.
This commit is contained in:
parent
21c56477b0
commit
677794f30d
9 changed files with 25 additions and 97 deletions
|
@ -29,6 +29,8 @@ void GAbstractButton::set_checked(bool checked)
|
|||
return;
|
||||
m_checked = checked;
|
||||
update();
|
||||
if (on_checked)
|
||||
on_checked(checked);
|
||||
}
|
||||
|
||||
void GAbstractButton::set_checkable(bool checkable)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue