X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e97f20a0f2bcff6b144b8ab81c73c1d412361864..dbcbe229628c7667da2b6257198467d4f09ab28d:/src/motif/settings.cpp diff --git a/src/motif/settings.cpp b/src/motif/settings.cpp index 9bfe3411ca..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,7 +53,11 @@ 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 { return *wxWHITE; @@ -65,16 +72,17 @@ wxColour wxSystemSettings::GetSystemColour(int index) case wxSYS_COLOUR_INACTIVECAPTIONTEXT: case wxSYS_COLOUR_INFOTEXT: { - return *wxBLACK; + return *wxBLACK; } case wxSYS_COLOUR_HIGHLIGHTTEXT: { - return *wxWHITE; + return *wxWHITE; } case wxSYS_COLOUR_INFOBK: case wxSYS_COLOUR_APPWORKSPACE: { - return *wxWHITE; + return wxColour("LIGHT GREY"); + // return *wxWHITE; } } return *wxWHITE; @@ -221,6 +229,5 @@ int wxSystemSettings::GetSystemMetric(int index) default: return 0; } - return 0; }