summaryrefslogtreecommitdiff
path: root/src/gui/widgets/textbox.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-20 02:53:30 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-20 13:55:43 +0300
commit4f20c92940b9cbb8e87d0765860a81eb3f7d2733 (patch)
tree94bb2372a80b65e39751ddac3bcfb861beb837af /src/gui/widgets/textbox.cpp
parent015b14f8e60d64da2999da9c753af62ec1ffdf72 (diff)
downloadplus-4f20c92940b9cbb8e87d0765860a81eb3f7d2733.tar.gz
plus-4f20c92940b9cbb8e87d0765860a81eb3f7d2733.tar.bz2
plus-4f20c92940b9cbb8e87d0765860a81eb3f7d2733.tar.xz
plus-4f20c92940b9cbb8e87d0765860a81eb3f7d2733.zip
Add palette inheritance to textbox class.
Diffstat (limited to 'src/gui/widgets/textbox.cpp')
-rw-r--r--src/gui/widgets/textbox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/textbox.cpp b/src/gui/widgets/textbox.cpp
index 017c0f2a2..4f90a6841 100644
--- a/src/gui/widgets/textbox.cpp
+++ b/src/gui/widgets/textbox.cpp
@@ -33,9 +33,9 @@
#include "debug.h"
-TextBox::TextBox() :
+TextBox::TextBox(const Widget2 *const widget) :
gcn::TextBox(),
- Widget2(),
+ Widget2(widget),
mMinWidth(getWidth())
{
mForegroundColor = getThemeColor(Theme::TEXTBOX);