git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34925
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
case wxSYS_COLOUR_HIGHLIGHT:
{
RGBColor hilite ;
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 ;
return wxColor( hilite.red >> 8 , hilite.green >> 8 , hilite.blue >> 8 ) ;
}
break ;
case wxSYS_COLOUR_HIGHLIGHTTEXT :
{
RGBColor hilite ;
case wxSYS_COLOUR_HIGHLIGHTTEXT :
{
RGBColor hilite ;
- LMGetHiliteRGB(&hilite) ;
+ GetThemeBrushAsColor( kThemeBrushPrimaryHighlightColor, 32, true, &hilite );
if ( ( hilite.red + hilite.green + hilite.blue ) == 0 )
return *wxWHITE ;
else
if ( ( hilite.red + hilite.green + hilite.blue ) == 0 )
return *wxWHITE ;
else