// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "settings.h"
-#endif
-
#include "wx/wxprec.h"
#include "wx/settings.h"
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