From a3db00d09e414b7fdaac39afc3dc623fdf564c31 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 17 Oct 2013 22:31:46 +0300 Subject: fix definitions in checkbox. --- src/gui/widgets/checkbox.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets/checkbox.h') diff --git a/src/gui/widgets/checkbox.h b/src/gui/widgets/checkbox.h index d470ac425..22316730a 100644 --- a/src/gui/widgets/checkbox.h +++ b/src/gui/widgets/checkbox.h @@ -44,7 +44,7 @@ class CheckBox final : public gcn::CheckBox, * Constructor. */ CheckBox(const Widget2 *const widget, - const std::string &caption, bool selected = false, + const std::string &caption, const bool selected = false, gcn::ActionListener *const listener = nullptr, const std::string &eventId = ""); @@ -68,7 +68,7 @@ class CheckBox final : public gcn::CheckBox, /** * Draws the check box, not the caption. */ - void drawBox(gcn::Graphics* graphics); + void drawBox(gcn::Graphics *const graphics); /** * Called when the mouse enteres the widget area. -- cgit v1.2.3-70-g09d2