mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 17:28:30 +00:00
LibGUI: Make GCheckBox inherit from GAbstractButton.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user