summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-05-24 17:11:42 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-05-24 17:11:42 +0200
commit677794f30d6d365a714aea3edbeb4a7668a96afc (patch)
tree88aea00328cb0a7a3fc65a4e6f313c80a5e9e14a /Userland
parent21c56477b046a7e22c8cd7c675b9459ee794df43 (diff)
downloadserenity-677794f30d6d365a714aea3edbeb4a7668a96afc.zip
LibGUI: Make GCheckBox inherit from GAbstractButton.
Diffstat (limited to 'Userland')
-rw-r--r--Userland/guitest2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/guitest2.cpp b/Userland/guitest2.cpp
index 39f9082559..79c229c8f8 100644
--- a/Userland/guitest2.cpp
+++ b/Userland/guitest2.cpp
@@ -113,7 +113,7 @@ GWindow* make_launcher_window()
auto* checkbox = new GCheckBox(widget);
checkbox->set_relative_rect({ 5, 170, 90, 20 });
- checkbox->set_caption("CheckBox");
+ checkbox->set_text("CheckBox");
window->set_focused_widget(textbox);