1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-05 06:27:35 +00:00

LibGUI: Make GCheckBox inherit from GAbstractButton.

This commit is contained in:
Andreas Kling 2019-05-24 17:11:42 +02:00
parent 21c56477b0
commit 677794f30d
9 changed files with 25 additions and 97 deletions

View file

@ -73,7 +73,7 @@ static GWidget* build_gwidget(VBWidgetType type, GWidget* parent)
}
case VBWidgetType::GCheckBox: {
auto* box = new GCheckBox(parent);
box->set_caption("checkbox_1");
box->set_text("checkbox_1");
return box;
}
default: