From 1107e4f89bcc88dcd296f4f454bc381421aa3e19 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Tue, 26 Nov 2013 12:00:03 +0100 Subject: [PATCH] CComponentsFrmClock: disable separate handle of label paint This is already handled in CTextBox object itself and should be enough. --- src/gui/components/cc_frm_clock.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/components/cc_frm_clock.cpp b/src/gui/components/cc_frm_clock.cpp index 7e0493176..da76721b8 100644 --- a/src/gui/components/cc_frm_clock.cpp +++ b/src/gui/components/cc_frm_clock.cpp @@ -181,11 +181,11 @@ void CComponentsFrmClock::initCCLockItems() CTextBox* ctb = lbl->getCTextBoxObject(); if (ctb) ctb->setFontUseDigitHeight(); - +#if 0 //ensure paint of text and label bg on changed text or painted form background bool force_txt_and_bg = (lbl->textChanged() || this->paint_bg); lbl->forceTextPaint(force_txt_and_bg); - +#endif //set xpos of item cl_x += wtmp;