]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/settings.cpp
don't include windows.h unless neccessary
[wxWidgets.git] / src / mac / settings.cpp
index fc3943c02b9b91fb0a47b7fae7f3b0e97f383cda..dcfe3657534a12fda9d3958763a70368579a666b 100644 (file)
@@ -33,6 +33,9 @@ wxColour wxSystemSettings::GetSystemColour(int index)
                        return wxColor( 0xDD , 0xDD , 0xDD ) ;
                        break ;
 
+               case wxSYS_COLOUR_LISTBOX :
+                       return wxColor( 0xEE , 0xEE , 0xEE ) ;
+                       break ;
                case wxSYS_COLOUR_BTNSHADOW:
                        return wxColor( 0x44 , 0x44 , 0x44 ) ;
                        break ;
@@ -217,3 +220,14 @@ int wxSystemSettings::GetSystemMetric(int index)
        return 0;
 }
 
+bool wxSystemSettings::GetCapability(int index)
+{
+    switch (index)
+    {
+        case wxSYS_CAN_ICONIZE_FRAME: 
+        case wxSYS_CAN_DRAW_FRAME_DECORATIONS:
+            return TRUE; break;
+        default:
+            return FALSE;
+    }
+}