only erase background if we do have a non-default background set
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
7ac0e38e96
commit
ced2fad6f2
@ -1778,7 +1778,7 @@ bool wxWindowMac::MacDoRedraw( long time )
|
||||
break;
|
||||
}
|
||||
|
||||
if ( MacGetTopLevelWindow() )
|
||||
if ( UseBgCol() && MacGetTopLevelWindow() )
|
||||
{
|
||||
dc.SetBackground(GetBackgroundColour());
|
||||
dc.Clear();
|
||||
|
Loading…
Reference in New Issue
Block a user