From: Vadim Zeitlin Date: Wed, 6 Feb 2002 14:24:54 +0000 (+0000) Subject: added the missing (newly added) colours to the switch X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1abfd7f3dd6cd0942b98c64c2a13740bbcdf2b6c?ds=sidebyside added the missing (newly added) colours to the switch git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/motif/settings.cpp b/src/motif/settings.cpp index 5d64ffcd06..7cef3207ff 100644 --- a/src/motif/settings.cpp +++ b/src/motif/settings.cpp @@ -83,8 +83,19 @@ wxColour wxSystemSettingsNative::GetColour(wxSystemColour index) case wxSYS_COLOUR_APPWORKSPACE: { return wxColour("LIGHT GREY"); - // return *wxWHITE; } + + case wxSYS_COLOUR_HOTLIGHT: + case wxSYS_COLOUR_GRADIENTACTIVECAPTION: + case wxSYS_COLOUR_GRADIENTINACTIVECAPTION: + case wxSYS_COLOUR_MENUHILIGHT: + case wxSYS_COLOUR_MENUBAR: + // TODO + return wxColour("LIGHT GREY"); + + default: + case wxSYS_COLOUR_MAX: + wxFAIL_MSG( _T("unknown colour") ); } return *wxWHITE; }