X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a174f139e105c38ae852104eb6a894b3a0d88e07..e7300ec6d9ebbd1cfa2fcf12c0ce6e5aee85a152:/src/mac/settings.cpp diff --git a/src/mac/settings.cpp b/src/mac/settings.cpp index 92d586c90c..5c3cc0990b 100644 --- a/src/mac/settings.cpp +++ b/src/mac/settings.cpp @@ -17,6 +17,8 @@ #include "wx/gdicmn.h" #include "wx/utils.h" +#include "wx/mac/uma.h" + // ---------------------------------------------------------------------------- // wxSystemSettingsNative // ---------------------------------------------------------------------------- @@ -42,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 ; @@ -97,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; }