diff options
Diffstat (limited to 'src/gui/windowmenu.cpp')
-rw-r--r-- | src/gui/windowmenu.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windowmenu.cpp b/src/gui/windowmenu.cpp index 542ab4a0..7011c82a 100644 --- a/src/gui/windowmenu.cpp +++ b/src/gui/windowmenu.cpp @@ -158,7 +158,8 @@ void WindowMenu::valueChanged(const gcn::SelectionEvent &event) void WindowMenu::addButton(const char* text, int &x, int &h) { - gcn::Button *btn = new Button(gettext(text), text, this); + Button *btn = new Button(gettext(text), text, this); + btn->setButtonPopupText(gettext(text)); btn->setPosition(x, 0); add(btn); x += btn->getWidth() + 3; |