summaryrefslogtreecommitdiff
path: root/src/gui/widgets/container.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/container.h')
-rw-r--r--src/gui/widgets/container.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/widgets/container.h b/src/gui/widgets/container.h
index 26706722b..9ecbbf145 100644
--- a/src/gui/widgets/container.h
+++ b/src/gui/widgets/container.h
@@ -23,6 +23,8 @@
#ifndef GUI_CONTAINER_H
#define GUI_CONTAINER_H
+#include "gui/widgets/widget2.h"
+
#include <guichan/widget.hpp>
#include <guichan/widgets/container.hpp>
@@ -39,7 +41,8 @@ typedef std::list<gcn::Widget *>::const_iterator WidgetListConstIterator;
*
* This container is also non-opaque by default.
*/
-class Container : public gcn::Container
+class Container : public gcn::Container,
+ public Widget2
{
public:
Container();