mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
LibGUI: Make GCheckBox inherit from GAbstractButton.
This commit is contained in:
@@ -161,7 +161,7 @@ void VBWidget::setup_properties()
|
||||
}
|
||||
|
||||
if (m_type == VBWidgetType::GCheckBox) {
|
||||
VB_ADD_PROPERTY(GCheckBox, "caption", caption, set_caption, string);
|
||||
VB_ADD_PROPERTY(GCheckBox, "caption", text, set_text, string);
|
||||
VB_ADD_PROPERTY(GCheckBox, "checked", is_checked, set_checked, bool);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user