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