summaryrefslogtreecommitdiff
path: root/src/gui/widgets/label.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/label.h')
-rw-r--r--src/gui/widgets/label.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/label.h b/src/gui/widgets/label.h
index d249bdf54..4ea7ca3e3 100644
--- a/src/gui/widgets/label.h
+++ b/src/gui/widgets/label.h
@@ -42,13 +42,13 @@ class Label final : public gcn::Label, public Widget2
/**
* Constructor.
*/
- Label();
+ Label(const Widget2 *const widget);
/**
* Constructor. This version of the constructor sets the label with an
* inintialization string.
*/
- Label(const std::string &caption);
+ Label(const Widget2 *const widget, const std::string &caption);
A_DELETE_COPY(Label)