diff options
Diffstat (limited to 'src/gui/widgets/radiobutton.cpp')
-rw-r--r-- | src/gui/widgets/radiobutton.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/widgets/radiobutton.cpp b/src/gui/widgets/radiobutton.cpp index d7b1769ba..062c426d3 100644 --- a/src/gui/widgets/radiobutton.cpp +++ b/src/gui/widgets/radiobutton.cpp @@ -40,9 +40,11 @@ int RadioButton::instances = 0; Skin *RadioButton::mSkin = nullptr; float RadioButton::mAlpha = 1.0; -RadioButton::RadioButton(const std::string &caption, const std::string &group, +RadioButton::RadioButton(const Widget2 *const widget, + const std::string &caption, const std::string &group, const bool marked): gcn::RadioButton(caption, group, marked), + Widget2(widget), mHasMouse(false), mPadding(0), mImagePadding(0), |