mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
CTextBox: don't hide if m_nPaintBackground is set to false
Required in CCompmonentsText. Hide of textbox object is unnecessary in
CCompmonentsText objects.
Origin commit data
------------------
Commit: 4db5c450a4
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-09 (Fri, 09 Nov 2012)
This commit is contained in:
@@ -640,6 +640,8 @@ void CTextBox::hide (void)
|
|||||||
if(frameBuffer == NULL)
|
if(frameBuffer == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
frameBuffer->paintBackgroundBoxRel(m_cFrame.iX, m_cFrame.iY, m_cFrame.iWidth, m_cFrame.iHeight);
|
if (m_nPaintBackground)
|
||||||
|
frameBuffer->paintBackgroundBoxRel(m_cFrame.iX, m_cFrame.iY, m_cFrame.iWidth, m_cFrame.iHeight);
|
||||||
|
|
||||||
frameBuffer = NULL;
|
frameBuffer = NULL;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user