X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/17d61cbfb41f6ae6c37bf9af8556113552cf0649..e564aa153eb1dc5ebd9f8c9f5f055c2a49c15b05:/src/gtk1/settings.cpp?ds=sidebyside diff --git a/src/gtk1/settings.cpp b/src/gtk1/settings.cpp index 69209c00d3..5bcfff6c21 100644 --- a/src/gtk1/settings.cpp +++ b/src/gtk1/settings.cpp @@ -156,6 +156,7 @@ wxColour wxSystemSettingsNative::GetColour( wxSystemColour index ) case wxSYS_COLOUR_ACTIVEBORDER: case wxSYS_COLOUR_INACTIVEBORDER: case wxSYS_COLOUR_BTNFACE: + case wxSYS_COLOUR_MENUBAR: case wxSYS_COLOUR_3DLIGHT: if (!g_systemBtnFaceColour) { @@ -292,6 +293,17 @@ wxColour wxSystemSettingsNative::GetColour( wxSystemColour index ) case wxSYS_COLOUR_APPWORKSPACE: return *wxWHITE; // ? + + case wxSYS_COLOUR_HOTLIGHT: + case wxSYS_COLOUR_GRADIENTACTIVECAPTION: + case wxSYS_COLOUR_GRADIENTINACTIVECAPTION: + case wxSYS_COLOUR_MENUHILIGHT: + // TODO + return *wxBLACK; + + case wxSYS_COLOUR_MAX: + default: + wxFAIL_MSG( _T("unknown system colour index") ); } return *wxWHITE;