CTextBox: Fix background paint

This commit is contained in:
Michael Liebmann
2013-10-26 12:36:18 +02:00
parent 36e20a8535
commit ca22cb9241

View File

@@ -554,7 +554,7 @@ void CTextBox::refreshText(void)
delete[] m_bgpixbuf;
m_bgpixbuf = NULL;
}
if (has_changed){
if (m_old_cText != m_cText || has_changed){
//TRACE("[CTextBox] %s paint bg %d\r\n", __FUNCTION__, __LINE__);
frameBuffer->paintBoxRel(ax, ay, dx, dy, m_textBackgroundColor, m_nBgRadius, m_nBgRadiusType);
}