diff options
Diffstat (limited to 'src/gui/widgets/label.cpp')
-rw-r--r-- | src/gui/widgets/label.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/widgets/label.cpp b/src/gui/widgets/label.cpp index 63a3f6b76..e7481e992 100644 --- a/src/gui/widgets/label.cpp +++ b/src/gui/widgets/label.cpp @@ -30,15 +30,17 @@ Skin *Label::mSkin = nullptr; int Label::mInstances = 0; -Label::Label() : +Label::Label(const Widget2 *const widget) : gcn::Label(), + Widget2(widget), mPadding(0) { init(); } -Label::Label(const std::string &caption) : +Label::Label(const Widget2 *const widget, const std::string &caption) : gcn::Label(caption), + Widget2(widget), mPadding(0) { init(); |