diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-19 18:28:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-20 13:55:42 +0300 |
commit | df5cd98862d5328c6765b992a3a6e1b3458a1d8a (patch) | |
tree | 281949dceabbc4894474f4f5c6cb398f3dd15998 /src/gui/widgets/textpreview.cpp | |
parent | 2bf115745f111215b651b87288eb9d15ceb333be (diff) | |
download | mv-df5cd98862d5328c6765b992a3a6e1b3458a1d8a.tar.gz mv-df5cd98862d5328c6765b992a3a6e1b3458a1d8a.tar.bz2 mv-df5cd98862d5328c6765b992a3a6e1b3458a1d8a.tar.xz mv-df5cd98862d5328c6765b992a3a6e1b3458a1d8a.zip |
Derive all widgets from Widget2 class.
Diffstat (limited to 'src/gui/widgets/textpreview.cpp')
-rw-r--r-- | src/gui/widgets/textpreview.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/widgets/textpreview.cpp b/src/gui/widgets/textpreview.cpp index a8591b22a..17630cbec 100644 --- a/src/gui/widgets/textpreview.cpp +++ b/src/gui/widgets/textpreview.cpp @@ -35,6 +35,7 @@ float TextPreview::mAlpha = 1.0; TextPreview::TextPreview(const std::string &text) : gcn::Widget(), + Widget2(), mFont(gui->getFont()), mText(text), mTextColor(&Theme::getThemeColor(Theme::TEXT)), |