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:
@@ -1778,7 +1778,7 @@ bool wxWindowMac::MacDoRedraw( long time )
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( MacGetTopLevelWindow() )
|
if ( UseBgCol() && MacGetTopLevelWindow() )
|
||||||
{
|
{
|
||||||
dc.SetBackground(GetBackgroundColour());
|
dc.SetBackground(GetBackgroundColour());
|
||||||
dc.Clear();
|
dc.Clear();
|
||||||
|
Reference in New Issue
Block a user