diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/widgets/checkbox.cpp | 4 | ||||
-rw-r--r-- | src/gui/widgets/checkbox.h | 4 |
2 files changed, 4 insertions, 4 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) { diff --git a/src/gui/widgets/checkbox.h b/src/gui/widgets/checkbox.h index a18079bed..408a52031 100644 --- a/src/gui/widgets/checkbox.h +++ b/src/gui/widgets/checkbox.h @@ -86,12 +86,12 @@ class CheckBox final : public gcn::CheckBox, void adjustSize(); private: - bool mHasMouse; + gcn::Color mForegroundColor; int mPadding; int mImagePadding; int mImageSize; int mSpacing; - gcn::Color mForegroundColor; + bool mHasMouse; static int instances; static Skin *mSkin; |