X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/76a5e5d21ee1a6230d777ce0209b2df4c6075f0f..c7de4135b619a045593a42dcbb1d1e8a7858cdcc:/src/mac/settings.cpp diff --git a/src/mac/settings.cpp b/src/mac/settings.cpp index 8c7591cfdb..5c3cc0990b 100644 --- a/src/mac/settings.cpp +++ b/src/mac/settings.cpp @@ -44,6 +44,7 @@ wxColour wxSystemSettingsNative::GetColour(wxSystemColour index) case wxSYS_COLOUR_ACTIVEBORDER: case wxSYS_COLOUR_INACTIVEBORDER: case wxSYS_COLOUR_BTNFACE: + case wxSYS_COLOUR_MENUBAR: return wxColor( 0xDD , 0xDD , 0xDD ) ; break ; @@ -99,6 +100,17 @@ wxColour wxSystemSettingsNative::GetColour(wxSystemColour index) case wxSYS_COLOUR_APPWORKSPACE: return *wxWHITE ; break ; + + case wxSYS_COLOUR_HOTLIGHT: + case wxSYS_COLOUR_GRADIENTACTIVECAPTION: + case wxSYS_COLOUR_GRADIENTINACTIVECAPTION: + case wxSYS_COLOUR_MENUHILIGHT: + // TODO + return *wxBLACK; + + case wxSYS_COLOUR_MAX: + wxFAIL_MSG( _T("unknown system colour index") ); + break ; } return *wxWHITE; }