]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/settings.cpp
fixed crash under GTK+ 2.0
[wxWidgets.git] / src / motif / settings.cpp
index 5d64ffcd062217664379ee7b1e067cc4aecd3687..7cef3207ffd803a325755682fd8a653f00a4e1f3 100644 (file)
@@ -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;
 }