simplify condition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
e490b0d23b
commit
773809f57c
@ -1778,7 +1778,7 @@ bool wxWindowMac::MacDoRedraw( long time )
|
||||
break;
|
||||
}
|
||||
|
||||
if ( UseBgCol() && MacGetTopLevelWindow() )
|
||||
if ( UseBgCol() )
|
||||
{
|
||||
dc.SetBackground(GetBackgroundColour());
|
||||
dc.Clear();
|
||||
|
Loading…
Reference in New Issue
Block a user