From f24b4360e73d45bc0830d2964c06e295890e5f18 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 18 Feb 2014 01:12:45 +0300 Subject: derive Widget from Widget2. --- src/gui/base/widgets/label.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/gui/base/widgets/label.cpp') 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) { -- cgit v1.2.3-60-g2f50