diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-05 21:48:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-05 21:48:30 +0300 |
commit | 6fee84f3838bdd900e8cfc4a1e4d7f15f35bd6ed (patch) | |
tree | 79a54d4c838c85df29b1b95702b71a95c43ceb5a /src/guichan/widgets/label.cpp | |
parent | d1bb1b375d657f0821ccfebf18fa1c3873314690 (diff) | |
download | manaplus-6fee84f3838bdd900e8cfc4a1e4d7f15f35bd6ed.tar.gz manaplus-6fee84f3838bdd900e8cfc4a1e4d7f15f35bd6ed.tar.bz2 manaplus-6fee84f3838bdd900e8cfc4a1e4d7f15f35bd6ed.tar.xz manaplus-6fee84f3838bdd900e8cfc4a1e4d7f15f35bd6ed.zip |
Improve constructors in some classes.
Diffstat (limited to 'src/guichan/widgets/label.cpp')
-rw-r--r-- | src/guichan/widgets/label.cpp | 5 |
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) { |