CComponentsFrmClock: disable separate handle of label paint

This is already handled in CTextBox object itself and should be enough.
This commit is contained in:
2013-11-26 12:00:03 +01:00
parent ef374d7f8d
commit 1107e4f89b

View File

@@ -181,11 +181,11 @@ void CComponentsFrmClock::initCCLockItems()
CTextBox* ctb = lbl->getCTextBoxObject(); CTextBox* ctb = lbl->getCTextBoxObject();
if (ctb) if (ctb)
ctb->setFontUseDigitHeight(); ctb->setFontUseDigitHeight();
#if 0
//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);
#endif
//set xpos of item //set xpos of item
cl_x += wtmp; cl_x += wtmp;