]> git.saurik.com Git - wxWidgets.git/commitdiff
simplify condition
authorStefan Csomor <csomor@advancedconcepts.ch>
Sat, 20 Jun 2009 23:07:44 +0000 (23:07 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sat, 20 Jun 2009 23:07:44 +0000 (23:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/window_osx.cpp

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