]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/settings.cpp
fix for unicode crashes by Dimitri
[wxWidgets.git] / src / os2 / settings.cpp
index 7983add4ee62cb342a436146a14a53d7a9bbfca9..6745891e57f70ab7af975b9f849018a8162aca2b 100644 (file)
@@ -18,6 +18,7 @@
 #include "wx/pen.h"
 #include "wx/brush.h"
 #include "wx/gdicmn.h"
+#include "wx/module.h"
 #endif
 
 #include "wx/settings.h"
@@ -356,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;
+}