summaryrefslogtreecommitdiff
path: root/src/gui/widgets/textfield.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/textfield.h')
-rw-r--r--src/gui/widgets/textfield.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/widgets/textfield.h b/src/gui/widgets/textfield.h
index f231dfb77..713895da4 100644
--- a/src/gui/widgets/textfield.h
+++ b/src/gui/widgets/textfield.h
@@ -23,6 +23,8 @@
#ifndef TEXTFIELD_H
#define TEXTFIELD_H
+#include "gui/widgets/widget2.h"
+
#include <guichan/widgets/textfield.hpp>
#include "localconsts.h"
@@ -35,7 +37,8 @@ class TextField;
*
* \ingroup GUI
*/
-class TextField : public gcn::TextField
+class TextField : public gcn::TextField,
+ public Widget2
{
public:
/**