CComponentsFrmClock: disable separate handle of label paint

This is already handled in CTextBox object itself and should be enough.


Origin commit data
------------------
Commit: 1107e4f89b
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-26 (Tue, 26 Nov 2013)
This commit is contained in:
2013-11-26 12:00:03 +01:00
parent 32baf72e16
commit 7218b95281

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;