CComponentsFrmClock: fix posible flicker effects

Textbox handling was changed since 08e23a917c
This commit is contained in:
2013-10-07 15:55:41 +02:00
parent 01fdbba7b7
commit 70b43dc021

View File

@@ -181,7 +181,6 @@ void CComponentsFrmClock::initCCLockItems()
//ensure paint of text and label bg on changed text or painted form background //ensure paint of text and label bg on changed text or painted form background
bool force_txt_and_bg = (lbl->textChanged() || this->paint_bg); bool force_txt_and_bg = (lbl->textChanged() || this->paint_bg);
lbl->forceTextPaint(force_txt_and_bg); lbl->forceTextPaint(force_txt_and_bg);
lbl->doPaintTextBoxBg(force_txt_and_bg);
//set xpos of item //set xpos of item
cl_x += wtmp; cl_x += wtmp;