]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/window.cpp
listctrl header cleanup
[wxWidgets.git] / src / mac / carbon / window.cpp
index 6d86234520fa47b8d8e6862e193f753e8615c9ec..975404ea78360fbc0f548de3f52c6b5124eaec2a 100644 (file)
@@ -1199,7 +1199,7 @@ bool wxWindowMac::SetBackgroundColour(const wxColour& col )
     wxBrush brush ;
     wxColour newCol(GetBackgroundColour());
 
-    if ( newCol == wxSystemSettings::GetColour( wxSYS_COLOUR_APPWORKSPACE ) )
+    if ( newCol == wxSystemSettings::GetColour( wxSYS_COLOUR_WINDOW ) )
         brush.MacSetTheme( kThemeBrushDocumentWindowBackground ) ;
     else if ( newCol == wxSystemSettings::GetColour( wxSYS_COLOUR_3DFACE ) )
         brush.MacSetTheme( kThemeBrushDialogBackgroundActive ) ;