summaryrefslogtreecommitdiff
path: root/src/gui/widgets/textpreview.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/textpreview.h')
-rw-r--r--src/gui/widgets/textpreview.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/widgets/textpreview.h b/src/gui/widgets/textpreview.h
index e9b23006d..c2a46930e 100644
--- a/src/gui/widgets/textpreview.h
+++ b/src/gui/widgets/textpreview.h
@@ -23,6 +23,8 @@
#ifndef TEXTPREVIEW_H
#define TEXTPREVIEW_H
+#include "gui/widgets/widget2.h"
+
#include <guichan/color.hpp>
#include <guichan/font.hpp>
#include <guichan/widget.hpp>
@@ -32,7 +34,8 @@
/**
* Preview widget for particle colors, etc.
*/
-class TextPreview final : public gcn::Widget
+class TextPreview final : public gcn::Widget,
+ public Widget2
{
public:
TextPreview(const std::string &text);