]> git.saurik.com Git - wxWidgets.git/commitdiff
fixing wxSystemColour conversion
authorStefan Csomor <csomor@advancedconcepts.ch>
Wed, 13 Feb 2008 08:35:19 +0000 (08:35 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Wed, 13 Feb 2008 08:35:19 +0000 (08:35 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/toplevel.cpp

index 74d6b8140db8475bc6315d87925d75b7b1f0a353..740c8c3a77a7a9f742063edfa9721c1c3fe2bb72 100644 (file)
@@ -1712,7 +1712,7 @@ void wxTopLevelWindowMac::MacSetUnifiedAppearance( bool set )
     // for wx.
     // TODO: Determine if we need this on Leopard as well. (should be harmless either way,
     // though)
-    SetBackgroundColour( wxSYS_COLOUR_WINDOW ) ;
+    SetBackgroundColour( wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW) ) ;
 }
 
 bool wxTopLevelWindowMac::MacGetUnifiedAppearance() const