summaryrefslogtreecommitdiff
path: root/src/gui/widgets/textbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/textbox.h')
-rw-r--r--src/gui/widgets/textbox.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/widgets/textbox.h b/src/gui/widgets/textbox.h
index 300a9d771..335ef777a 100644
--- a/src/gui/widgets/textbox.h
+++ b/src/gui/widgets/textbox.h
@@ -23,6 +23,8 @@
#ifndef TEXTBOX_H
#define TEXTBOX_H
+#include "gui/widgets/widget2.h"
+
#include <guichan/widgets/textbox.hpp>
#include "localconsts.h"
@@ -34,7 +36,8 @@
*
* \ingroup GUI
*/
-class TextBox final : public gcn::TextBox
+class TextBox final : public gcn::TextBox,
+ public Widget2
{
public:
/**