summaryrefslogtreecommitdiff
path: root/src/gui/widgets/checkbox.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-07-28 23:51:38 +0300
committerAndrei Karas <akaras@inbox.ru>2013-07-28 23:51:38 +0300
commitb14dd921c74c1543d1cd75602d6666f32df518ca (patch)
treea03bb2782ccc3a623b20445367646e43747f7fd1 /src/gui/widgets/checkbox.cpp
parent9651fe916f2e0e91778fd18bfacbe401f99a2de6 (diff)
downloadplus-b14dd921c74c1543d1cd75602d6666f32df518ca.tar.gz
plus-b14dd921c74c1543d1cd75602d6666f32df518ca.tar.bz2
plus-b14dd921c74c1543d1cd75602d6666f32df518ca.tar.xz
plus-b14dd921c74c1543d1cd75602d6666f32df518ca.zip
move bools in checkbox.
Diffstat (limited to 'src/gui/widgets/checkbox.cpp')
-rw-r--r--src/gui/widgets/checkbox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/checkbox.cpp b/src/gui/widgets/checkbox.cpp
index 552d98c72..d46ce28bd 100644
--- a/src/gui/widgets/checkbox.cpp
+++ b/src/gui/widgets/checkbox.cpp
@@ -44,12 +44,12 @@ CheckBox::CheckBox(const Widget2 *const widget,
const std::string &eventId) :
gcn::CheckBox(caption, selected),
Widget2(widget),
- mHasMouse(false),
+ mForegroundColor(getThemeColor(Theme::CHECKBOX_OUTLINE)),
mPadding(0),
mImagePadding(0),
mImageSize(9),
mSpacing(2),
- mForegroundColor(getThemeColor(Theme::CHECKBOX_OUTLINE))
+ mHasMouse(false)
{
if (instances == 0)
{