From 4f20c92940b9cbb8e87d0765860a81eb3f7d2733 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Oct 2012 02:53:30 +0300 Subject: Add palette inheritance to textbox class. --- src/gui/widgets/textbox.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets/textbox.cpp') 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); -- cgit v1.2.3-70-g09d2