From 1abfd7f3dd6cd0942b98c64c2a13740bbcdf2b6c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 6 Feb 2002 14:24:54 +0000 Subject: [PATCH] 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 --- src/motif/settings.cpp | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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; } -- 2.45.2