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