From df5cd98862d5328c6765b992a3a6e1b3458a1d8a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 19 Oct 2012 18:28:37 +0300 Subject: Derive all widgets from Widget2 class. --- src/gui/widgets/checkbox.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gui/widgets/checkbox.cpp') diff --git a/src/gui/widgets/checkbox.cpp b/src/gui/widgets/checkbox.cpp index f3e5993b0..8ffb4e7bb 100644 --- a/src/gui/widgets/checkbox.cpp +++ b/src/gui/widgets/checkbox.cpp @@ -46,6 +46,7 @@ CheckBox::CheckBox(const std::string &caption, const bool selected, gcn::ActionListener *const listener, const std::string &eventId) : gcn::CheckBox(caption, selected), + Widget2(), mHasMouse(false), mPadding(0), mImagePadding(0), -- cgit v1.2.3-60-g2f50