X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..48d43515c24e7f3032a7119179da4eddaf4c1ed4:/src/osx/carbon/settings.cpp diff --git a/src/osx/carbon/settings.cpp b/src/osx/carbon/settings.cpp index 37421f5904..1bac3eaa5b 100644 --- a/src/osx/carbon/settings.cpp +++ b/src/osx/carbon/settings.cpp @@ -110,6 +110,7 @@ wxColour wxSystemSettingsNative::GetColour(wxSystemColour index) break ; case wxSYS_COLOUR_HIGHLIGHTTEXT : + case wxSYS_COLOUR_LISTBOXHIGHLIGHTTEXT : #if wxOSX_USE_COCOA_OR_CARBON { wxColour highlightcolor( wxMacCreateCGColorFromHITheme(-3 /* kThemeBrushPrimaryHighlightColor */) ); @@ -159,7 +160,7 @@ wxColour wxSystemSettingsNative::GetColour(wxSystemColour index) wxFont wxSystemSettingsNative::GetFont(wxSystemFont index) { wxFont font; - + switch (index) { case wxSYS_ANSI_VAR_FONT : @@ -252,7 +253,7 @@ int wxSystemSettingsNative::GetMetric(wxSystemMetric index, wxWindow* WXUNUSED(w #if wxOSX_USE_CARBON return (int)(GetDblTime() * 1000. / 60.); #else - // default on mac is 30 ticks, we shouldn't really use wxSYS_DCLICK_MSEC anyway + // default on mac is 30 ticks, we shouldn't really use wxSYS_DCLICK_MSEC anyway // but rather rely on the 'click-count' by the system delivered in a mouse event return 500; #endif