summaryrefslogtreecommitdiff
path: root/src/gui/widgets/button.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/button.h')
-rw-r--r--src/gui/widgets/button.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/widgets/button.h b/src/gui/widgets/button.h
index 7463d2ad..94d550e9 100644
--- a/src/gui/widgets/button.h
+++ b/src/gui/widgets/button.h
@@ -96,7 +96,11 @@ class Button : public gcn::Button
Image** mButtonIcon; /**< Button Icons graphics */
- static TextPopup* mTextPopup; /**< The buttons popup */
+ /**
+ * The buttons popup
+ * @note: This is a global object. One for all the buttons.
+ */
+ static TextPopup* mTextPopup;
std::string mPopupText; /**< the current button text */
};