]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/settings.cpp
process pending wx events before sending idle events
[wxWidgets.git] / src / mac / carbon / settings.cpp
index 4df74a6dd876ec1fcfbf60718eeba74983c0148f..81cbcc4b94f8d28258b3e81c5266e42b1e1e8c15 100644 (file)
@@ -88,7 +88,7 @@ wxColour wxSystemSettingsNative::GetColour(wxSystemColour index)
 #endif
 
             GetThemeBrushAsColor( colorBrushID, 32, true, &macRGB );
-            resultColor = wxColor( macRGB.red >> 8, macRGB.green >> 8, macRGB.blue >> 8 );
+            resultColor = wxColor( macRGB );
             break ;
 
         case wxSYS_COLOUR_BTNHIGHLIGHT: