summaryrefslogtreecommitdiff
path: root/src/gui/widgets/checkbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/checkbox.h')
-rw-r--r--src/gui/widgets/checkbox.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/checkbox.h b/src/gui/widgets/checkbox.h
index 4bb675f65..91c713b9e 100644
--- a/src/gui/widgets/checkbox.h
+++ b/src/gui/widgets/checkbox.h
@@ -44,7 +44,8 @@ class CheckBox final : public gcn::CheckBox,
/**
* Constructor.
*/
- CheckBox(const std::string &caption, bool selected = false,
+ CheckBox(const Widget2 *const widget,
+ const std::string &caption, bool selected = false,
gcn::ActionListener *const listener = nullptr,
const std::string &eventId = "");