]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/settings.cpp
don't call SelectObject() twice in SetBrush() nor SetFont() neither
[wxWidgets.git] / src / mac / carbon / settings.cpp
index eebf21927bddc8e6fd8852ac712c561509e5dd99..4ddb2a458229ec7639d4af983d15aaf91e924bb3 100644 (file)
@@ -57,7 +57,10 @@ wxColour wxSystemSettingsNative::GetColour(wxSystemColour index)
             break ;
         }
         case wxSYS_COLOUR_BTNSHADOW:
-            return wxColor( 0x44 , 0x44 , 0x44 ) ;
+            if (major >= 10)
+                return wxColor( 0xBE , 0xBE , 0xBE ) ;
+            else
+                return wxColor( 0x44 , 0x44 , 0x44 ) ;
             break ;
 
         case wxSYS_COLOUR_BTNTEXT: