From b7e35a7bbd41c39fa675e77b2af6a11bb4d86dd2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 7 Sep 2012 22:09:11 +0300 Subject: Improve constructors in some classes. --- src/gui/windowmenu.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui/windowmenu.h') diff --git a/src/gui/windowmenu.h b/src/gui/windowmenu.h index 490b24d87..c0be9a1fe 100644 --- a/src/gui/windowmenu.h +++ b/src/gui/windowmenu.h @@ -79,9 +79,10 @@ class WindowMenu : public Container, void optionChanged(const std::string &name); - private: + protected: void drawChildren(gcn::Graphics* graphics); + private: inline void addButton(const char *const text, const std::string &description, int &x, int &h, const int key, -- cgit v1.2.3-70-g09d2