summaryrefslogtreecommitdiff
path: root/src/gui/widgets/widgetgroup.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/widgetgroup.h')
-rw-r--r--src/gui/widgets/widgetgroup.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/widgets/widgetgroup.h b/src/gui/widgets/widgetgroup.h
index 7b8abd8e9..d70aa977f 100644
--- a/src/gui/widgets/widgetgroup.h
+++ b/src/gui/widgets/widgetgroup.h
@@ -31,7 +31,8 @@ class WidgetGroup : public Container,
public gcn::ActionListener
{
public:
- WidgetGroup(std::string group, int height, int spacing);
+ WidgetGroup(const std::string &group, const int height,
+ const int spacing);
virtual void addButton(std::string tag);
@@ -39,7 +40,7 @@ class WidgetGroup : public Container,
void action(const gcn::ActionEvent &event);
- virtual void add(gcn::Widget *widget, int spacing);
+ virtual void add(gcn::Widget *const widget, const int spacing);
virtual void clear();