From 773809f57ce343eaf5134db4a5946e5085d37e6f Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sat, 20 Jun 2009 23:07:44 +0000 Subject: [PATCH] simplify condition git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/osx/window_osx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osx/window_osx.cpp b/src/osx/window_osx.cpp index 60572430d5..a79dbea936 100644 --- a/src/osx/window_osx.cpp +++ b/src/osx/window_osx.cpp @@ -1778,7 +1778,7 @@ bool wxWindowMac::MacDoRedraw( long time ) break; } - if ( UseBgCol() && MacGetTopLevelWindow() ) + if ( UseBgCol() ) { dc.SetBackground(GetBackgroundColour()); dc.Clear();