From 6fee84f3838bdd900e8cfc4a1e4d7f15f35bd6ed Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 5 Sep 2012 21:48:30 +0300 Subject: Improve constructors in some classes. --- src/guichan/widgets/slider.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/guichan/widgets/slider.cpp') diff --git a/src/guichan/widgets/slider.cpp b/src/guichan/widgets/slider.cpp index a9e9bed31..790560c7c 100644 --- a/src/guichan/widgets/slider.cpp +++ b/src/guichan/widgets/slider.cpp @@ -57,6 +57,9 @@ namespace gcn { Slider::Slider(const double scaleEnd) : + Widget(), + MouseListener(), + KeyListener(), mDragged(false), mScaleStart(0), mScaleEnd(scaleEnd) @@ -73,6 +76,9 @@ namespace gcn } Slider::Slider(const double scaleStart, const double scaleEnd) : + Widget(), + MouseListener(), + KeyListener(), mDragged(false), mScaleStart(scaleStart), mScaleEnd(scaleEnd) -- cgit v1.2.3-70-g09d2