summaryrefslogtreecommitdiff
path: root/src/gui/widgets/radiogroup.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-20 02:37:02 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-20 13:55:43 +0300
commit015b14f8e60d64da2999da9c753af62ec1ffdf72 (patch)
tree5a96c0573d7065fc4a3c87bf727c0645946c1222 /src/gui/widgets/radiogroup.cpp
parentb6b4ea19929e7e67d987041aa129366f4fed3a6d (diff)
downloadplus-015b14f8e60d64da2999da9c753af62ec1ffdf72.tar.gz
plus-015b14f8e60d64da2999da9c753af62ec1ffdf72.tar.bz2
plus-015b14f8e60d64da2999da9c753af62ec1ffdf72.tar.xz
plus-015b14f8e60d64da2999da9c753af62ec1ffdf72.zip
Add palette inheritance to radiobutton class.
Diffstat (limited to 'src/gui/widgets/radiogroup.cpp')
-rw-r--r--src/gui/widgets/radiogroup.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/radiogroup.cpp b/src/gui/widgets/radiogroup.cpp
index 6e759cba8..3d20b7248 100644
--- a/src/gui/widgets/radiogroup.cpp
+++ b/src/gui/widgets/radiogroup.cpp
@@ -35,7 +35,8 @@ RadioGroup::RadioGroup(const Widget2 *const widget,
gcn::Widget *RadioGroup::createWidget(const std::string &text)
{
- RadioButton *const widget = new RadioButton(text, mGroup, mCount == 0);
+ RadioButton *const widget = new RadioButton(
+ this, text, mGroup, mCount == 0);
widget->adjustSize();
return widget;
}