/////////////////////////////////////////////////////////////////////////////
-// Name: src/mac/carbon/settings.cpp
+// Name: src/osx/carbon/settings.cpp
// Purpose: wxSettings
// Author: Stefan Csomor
// Modified by:
{
case wxSYS_COLOUR_WINDOW:
#if wxOSX_USE_COCOA_OR_CARBON
- resultColor = wxColour(wxMacCreateCGColorFromHITheme( kThemeBrushDocumentWindowBackground )) ;
+ resultColor = wxColour(wxMacCreateCGColorFromHITheme( 15 /* kThemeBrushDocumentWindowBackground */ )) ;
#else
resultColor = *wxWHITE;
#endif
case wxSYS_COLOUR_BTNFACE:
case wxSYS_COLOUR_MENUBAR:
#if wxOSX_USE_COCOA_OR_CARBON
- resultColor = wxColour(wxMacCreateCGColorFromHITheme(kThemeBrushDialogBackgroundActive));
+ resultColor = wxColour(wxMacCreateCGColorFromHITheme( 3 /* kThemeBrushDialogBackgroundActive */));
#else
resultColor = wxColour( 0xBE, 0xBE, 0xBE ) ;
#endif
case wxSYS_COLOUR_CAPTIONTEXT:
case wxSYS_COLOUR_INFOTEXT:
case wxSYS_COLOUR_INACTIVECAPTIONTEXT:
+ case wxSYS_COLOUR_LISTBOXTEXT:
resultColor = *wxBLACK;
break ;
// NB: enable this case as desired
colorBrushID = kThemeBrushAlternatePrimaryHighlightColor;
#else
- colorBrushID = kThemeBrushPrimaryHighlightColor;
+ colorBrushID = -3 /* kThemeBrushPrimaryHighlightColor */;
#endif
resultColor = wxColour( wxMacCreateCGColorFromHITheme(colorBrushID) );
#else
case wxSYS_COLOUR_HIGHLIGHTTEXT :
#if wxOSX_USE_COCOA_OR_CARBON
{
- wxColour highlightcolor( wxMacCreateCGColorFromHITheme(kThemeBrushPrimaryHighlightColor) );
+ wxColour highlightcolor( wxMacCreateCGColorFromHITheme(-3 /* kThemeBrushPrimaryHighlightColor */) );
if ((highlightcolor.Red() + highlightcolor.Green() + highlightcolor.Blue() ) == 0)
resultColor = *wxWHITE ;
else