X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/902725eefee5a402d21d13b2630583ab28ae3931..5e8c9935fda0029fadba1c4106f15fb39b8eec39:/src/mac/carbon/settings.cpp diff --git a/src/mac/carbon/settings.cpp b/src/mac/carbon/settings.cpp index a81eda8c62..d1ceaeae1a 100644 --- a/src/mac/carbon/settings.cpp +++ b/src/mac/carbon/settings.cpp @@ -76,7 +76,7 @@ wxColour wxSystemSettingsNative::GetColour(wxSystemColour index) 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 ; @@ -94,7 +94,7 @@ wxColour wxSystemSettingsNative::GetColour(wxSystemColour index) case wxSYS_COLOUR_HIGHLIGHTTEXT : { RGBColor hilite ; - LMGetHiliteRGB(&hilite) ; + GetThemeBrushAsColor( kThemeBrushPrimaryHighlightColor, 32, true, &hilite ); if ( ( hilite.red + hilite.green + hilite.blue ) == 0 ) return *wxWHITE ; else