simplify condition

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2009-06-20 23:07:44 +00:00
parent e490b0d23b
commit 773809f57c

View File

@ -1778,7 +1778,7 @@ bool wxWindowMac::MacDoRedraw( long time )
break;
}
if ( UseBgCol() && MacGetTopLevelWindow() )
if ( UseBgCol() )
{
dc.SetBackground(GetBackgroundColour());
dc.Clear();