summaryrefslogtreecommitdiff
path: root/src/gui/base/widgets/label.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/base/widgets/label.cpp')
-rw-r--r--src/gui/base/widgets/label.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gui/base/widgets/label.cpp b/src/gui/base/widgets/label.cpp
index cbee2ac4c..84ba87d84 100644
--- a/src/gui/base/widgets/label.cpp
+++ b/src/gui/base/widgets/label.cpp
@@ -75,15 +75,16 @@
namespace gcn
{
- Label::Label() :
- gcn::Widget(),
+ Label::Label(const Widget2 *const widget) :
+ gcn::Widget(widget),
mCaption(),
mAlignment(Graphics::LEFT)
{
}
- Label::Label(const std::string& caption) :
- gcn::Widget(),
+ Label::Label(const Widget2 *const widget,
+ const std::string& caption) :
+ gcn::Widget(widget),
mCaption(caption),
mAlignment(Graphics::LEFT)
{