]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/settings.cpp
another segfault fix
[wxWidgets.git] / src / msw / settings.cpp
index 360e8a2fc3c618f9404453a47f05e578dcde3d05..7255aad9886d5b2d0b9b891e6b040ba85621f1f6 100644 (file)
@@ -267,3 +267,14 @@ int wxSystemSettings::GetSystemMetric(int index)
     // __WXMICROWIN__
 }
 
+bool wxSystemSettings::GetCapability(int index)
+{
+    switch (index)
+    {
+        case wxSYS_CAN_ICONIZE_FRAME: 
+        case wxSYS_CAN_DRAW_FRAME_DECORATIONS:
+            return TRUE;
+        default:
+            return FALSE;
+    }
+}