summaryrefslogtreecommitdiff
path: root/src/gui/widgets/radiogroup.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-05 15:47:31 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-05 15:47:31 +0300
commit5aa5429c62096034769ffdaef92a0fcb5db08301 (patch)
tree15fb060f619c30c4e7349e2d18f3cf6cfba05928 /src/gui/widgets/radiogroup.cpp
parentad3a223908a77d42ee97ef28b598e3c831bee7d1 (diff)
downloadmanaplus-5aa5429c62096034769ffdaef92a0fcb5db08301.tar.gz
manaplus-5aa5429c62096034769ffdaef92a0fcb5db08301.tar.bz2
manaplus-5aa5429c62096034769ffdaef92a0fcb5db08301.tar.xz
manaplus-5aa5429c62096034769ffdaef92a0fcb5db08301.zip
Allow set pressed item in widgetgroup and child objects.
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 bfdb64f6e..b9aa16dae 100644
--- a/src/gui/widgets/radiogroup.cpp
+++ b/src/gui/widgets/radiogroup.cpp
@@ -31,7 +31,8 @@ RadioGroup::RadioGroup(const Widget2 *const widget,
{
}
-Widget *RadioGroup::createWidget(const std::string &text) const
+Widget *RadioGroup::createWidget(const std::string &text,
+ const bool pressed A_UNUSED) const
{
RadioButton *const widget = new RadioButton(
this, text, mGroup, mCount == 0);