From 213a21e4c079113e5822d2cf90802d6dcb2cb232 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 19 Oct 2012 21:02:14 +0300 Subject: In all controls, call Widget2 methods to get colors. --- src/gui/widgets/textfield.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets/textfield.cpp') diff --git a/src/gui/widgets/textfield.cpp b/src/gui/widgets/textfield.cpp index 690bddcd9..6c11d2e17 100644 --- a/src/gui/widgets/textfield.cpp +++ b/src/gui/widgets/textfield.cpp @@ -58,10 +58,10 @@ TextField::TextField(const std::string &text, const bool loseFocusOnTab, mMaximum(0), mLoseFocusOnTab(loseFocusOnTab), mLastEventPaste(false), - mCaretColor(&Theme::getThemeColor(Theme::CARET)) + mCaretColor(&getThemeColor(Theme::CARET)) { setFrameSize(2); - mForegroundColor = Theme::getThemeColor(Theme::TEXTFIELD); + mForegroundColor = getThemeColor(Theme::TEXTFIELD); if (instances == 0) { -- cgit v1.2.3-60-g2f50