summaryrefslogtreecommitdiff
path: root/src/gui/widgets/radiogroup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/radiogroup.cpp')
-rw-r--r--src/gui/widgets/radiogroup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/radiogroup.cpp b/src/gui/widgets/radiogroup.cpp
index 589997660..73d34afce 100644
--- a/src/gui/widgets/radiogroup.cpp
+++ b/src/gui/widgets/radiogroup.cpp
@@ -31,7 +31,7 @@ RadioGroup::RadioGroup(const Widget2 *const widget,
{
}
-gcn::Widget *RadioGroup::createWidget(const std::string &text)
+gcn::Widget *RadioGroup::createWidget(const std::string &text) const
{
RadioButton *const widget = new RadioButton(
this, text, mGroup, mCount == 0);