summaryrefslogtreecommitdiff
path: root/src/guichan/widgets/label.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/guichan/widgets/label.cpp')
-rw-r--r--src/guichan/widgets/label.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/guichan/widgets/label.cpp b/src/guichan/widgets/label.cpp
index 815bba741..aebbd0472 100644
--- a/src/guichan/widgets/label.cpp
+++ b/src/guichan/widgets/label.cpp
@@ -56,11 +56,14 @@
namespace gcn
{
- Label::Label() : mAlignment(Graphics::LEFT)
+ Label::Label() :
+ Widget(),
+ mAlignment(Graphics::LEFT)
{
}
Label::Label(const std::string& caption) :
+ Widget(),
mCaption(caption),
mAlignment(Graphics::LEFT)
{