]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/settings.cpp
"char *" changed to "wxChar *" in several places
[wxWidgets.git] / src / motif / settings.cpp
index 77713699c0e6d5e4bceb28a3d2ef14a6a751ae37..b75b68efc92fbc451f76d1b094bdf59688695eb1 100644 (file)
@@ -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,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:
@@ -224,3 +231,14 @@ int wxSystemSettings::GetSystemMetric(int index)
        }
 }
 
+bool wxSystemSettings::GetCapability(int index)
+{
+    switch (index)
+    {
+        case wxSYS_CAN_ICONIZE_FRAME: 
+        case wxSYS_CAN_DRAW_FRAME_DECORATIONS:
+            return TRUE; break;
+        default:
+            return FALSE;
+    }
+}