diff options
Diffstat (limited to 'gui/dialog.h')
-rw-r--r-- | gui/dialog.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gui/dialog.h b/gui/dialog.h index e3d7f46cfa..d535cd9280 100644 --- a/gui/dialog.h +++ b/gui/dialog.h @@ -41,16 +41,14 @@ class Dialog : public GuiObject { protected: Widget *_mouseWidget; Widget *_focusedWidget; + Widget *_clickedWidget; bool _visible; private: int _result; public: - Dialog(int x, int y, int w, int h) - : GuiObject(x, y, w, h), - _mouseWidget(0), _focusedWidget(0), _visible(false) { - } + Dialog(int x, int y, int w, int h); virtual ~Dialog(); virtual int runModal(); |