From 3d1b41968fcc7b49610de3c8ce81040b3a3096a8 Mon Sep 17 00:00:00 2001 From: Michael Bedward Date: Mon, 21 Feb 2000 09:53:16 +0000 Subject: [PATCH] Changed system colours for better default display of wxGrid. Please revert this if it causes problems with other things and let me know on wxwin-dev. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/motif/settings.cpp | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/motif/settings.cpp b/src/motif/settings.cpp index 308afa9471..62e04d0be8 100644 --- a/src/motif/settings.cpp +++ b/src/motif/settings.cpp @@ -24,13 +24,16 @@ wxColour wxSystemSettings::GetSystemColour(int index) { switch (index) { + case wxSYS_COLOUR_WINDOW: + { + return *wxWHITE; + } case wxSYS_COLOUR_SCROLLBAR: // case wxSYS_COLOUR_DESKTOP: // Same as wxSYS_COLOUR_BACKGROUND case wxSYS_COLOUR_BACKGROUND: case wxSYS_COLOUR_ACTIVECAPTION: case wxSYS_COLOUR_INACTIVECAPTION: case wxSYS_COLOUR_MENU: - case wxSYS_COLOUR_WINDOW: case wxSYS_COLOUR_WINDOWFRAME: case wxSYS_COLOUR_ACTIVEBORDER: case wxSYS_COLOUR_INACTIVEBORDER: @@ -50,6 +53,9 @@ wxColour wxSystemSettings::GetSystemColour(int index) return *wxBLACK; } case wxSYS_COLOUR_HIGHLIGHT: + { + return *wxBLUE; + } case wxSYS_COLOUR_BTNHIGHLIGHT: case wxSYS_COLOUR_LISTBOX: // case wxSYS_COLOUR_3DHIGHLIGHT: // Same as wxSYS_COLOUR_BTNHIGHLIGHT @@ -66,11 +72,11 @@ wxColour wxSystemSettings::GetSystemColour(int index) case wxSYS_COLOUR_INACTIVECAPTIONTEXT: case wxSYS_COLOUR_INFOTEXT: { - return *wxBLACK; + return *wxBLACK; } case wxSYS_COLOUR_HIGHLIGHTTEXT: { - return *wxBLUE; + return *wxWHITE; } case wxSYS_COLOUR_INFOBK: case wxSYS_COLOUR_APPWORKSPACE: -- 2.45.2