]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/settings.cpp
wxDC::SetFont can now handle invalid font and doesn't assert anymore (other ports...
[wxWidgets.git] / src / os2 / settings.cpp
index 05ba3aaf808e493eb7ad038fe50703d06af32437..6745891e57f70ab7af975b9f849018a8162aca2b 100644 (file)
@@ -357,3 +357,15 @@ 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;
+    }
+    return FALSE;
+}