switching colors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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 ) ;
|
||||
|
Reference in New Issue
Block a user