case wxSYS_COLOUR_HIGHLIGHT:
{
RGBColor hilite ;
- LMGetHiliteRGB(&hilite) ;
+ GetThemeBrushAsColor( kThemeBrushPrimaryHighlightColor, 32, true, &hilite );
return wxColor( hilite.red >> 8 , hilite.green >> 8 , hilite.blue >> 8 ) ;
}
break ;
case wxSYS_COLOUR_HIGHLIGHTTEXT :
{
RGBColor hilite ;
- LMGetHiliteRGB(&hilite) ;
+ GetThemeBrushAsColor( kThemeBrushPrimaryHighlightColor, 32, true, &hilite );
if ( ( hilite.red + hilite.green + hilite.blue ) == 0 )
return *wxWHITE ;
else