diff options
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/window.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/window.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp index 83ae2e42b..9c5be0936 100644 --- a/src/gui/widgets/window.cpp +++ b/src/gui/widgets/window.cpp @@ -54,6 +54,7 @@ Window::Window(const std::string &caption, const bool modal, mDefaultY(0), mDefaultWidth(0), mDefaultHeight(0), + mRedraw(true), mLastRedraw(true), mGrip(nullptr), mParent(parent), @@ -79,7 +80,6 @@ Window::Window(const std::string &caption, const bool modal, mGripPadding(2), mResizeHandles(-1), mOldResizeHandles(-1), - mRedraw(true), mPlayVisibleSound(false), mCaptionFont(getFont()) { diff --git a/src/gui/widgets/window.h b/src/gui/widgets/window.h index f8ebcd598..95f686729 100644 --- a/src/gui/widgets/window.h +++ b/src/gui/widgets/window.h @@ -433,6 +433,7 @@ class Window : public gcn::Window, int mDefaultY; /**< Default window Y position */ int mDefaultWidth; /**< Default window width */ int mDefaultHeight; /**< Default window height */ + bool mRedraw; bool mLastRedraw; private: @@ -499,7 +500,6 @@ class Window : public gcn::Window, int mGripPadding; int mResizeHandles; int mOldResizeHandles; - bool mRedraw; bool mPlayVisibleSound; gcn::Font *mCaptionFont; }; |