- {
- RGBColor hilite ;
- GetThemeBrushAsColor( kThemeBrushPrimaryHighlightColor, 32, true, &hilite );
- if ( ( hilite.red + hilite.green + hilite.blue ) == 0 )
- return *wxWHITE ;
- else
- return *wxBLACK ;
- }
+#if 0 && (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_3)
+ // NB: enable this case as desired
+ resultColor = *wxWHITE ;
+#else
+ GetThemeBrushAsColor( kThemeBrushPrimaryHighlightColor, 32, true, &macRGB );
+ if ((macRGB.red + macRGB.green + macRGB.blue) == 0)
+ resultColor = *wxWHITE ;
+ else
+ resultColor = *wxBLACK ;
+#endif