From 6fee84f3838bdd900e8cfc4a1e4d7f15f35bd6ed Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 5 Sep 2012 21:48:30 +0300 Subject: Improve constructors in some classes. --- src/guichan/widgets/label.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/guichan/widgets/label.cpp') 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) { -- cgit v1.2.3-60-g2f50