summaryrefslogtreecommitdiff
path: root/src/gui/widgets/scrollarea.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/scrollarea.h')
-rw-r--r--src/gui/widgets/scrollarea.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/widgets/scrollarea.h b/src/gui/widgets/scrollarea.h
index c457afc8a..d771819e6 100644
--- a/src/gui/widgets/scrollarea.h
+++ b/src/gui/widgets/scrollarea.h
@@ -23,6 +23,8 @@
#ifndef SCROLLAREA_H
#define SCROLLAREA_H
+#include "gui/widgets/widget2.h"
+
#include <guichan/widgets/scrollarea.hpp>
#include <guichan/widgetlistener.hpp>
@@ -41,7 +43,9 @@ class ImageRect;
*
* \ingroup GUI
*/
-class ScrollArea final : public gcn::ScrollArea, public gcn::WidgetListener
+class ScrollArea final : public gcn::ScrollArea,
+ public Widget2,
+ public gcn::WidgetListener
{
public:
/**