]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/settings.cpp
Added implementation for wxGetKeyState and wxGetMouseState.
[wxWidgets.git] / src / os2 / settings.cpp
index 2f42f126e1dfc4af5aebabf6a5035b81e88bb93e..f828647041c929921677bed98876f37beb73872b 100644 (file)
 #include "wx/wxprec.h"
 
 #ifndef WX_PRECOMP
 #include "wx/wxprec.h"
 
 #ifndef WX_PRECOMP
-#include <stdio.h>
-#include "wx/defs.h"
-#include "wx/pen.h"
-#include "wx/brush.h"
-#include "wx/gdicmn.h"
+    #include <stdio.h>
+    #include "wx/pen.h"
+    #include "wx/brush.h"
+    #include "wx/gdicmn.h"
+    #include "wx/window.h"
+    #include "wx/settings.h"
 #endif
 
 #include "wx/module.h"
 #endif
 
 #include "wx/module.h"
-#include "wx/settings.h"
-#include "wx/window.h"
 #include "wx/os2/private.h"
 
 // the module which is used to clean up wxSystemSettings data (this is a
 #include "wx/os2/private.h"
 
 // the module which is used to clean up wxSystemSettings data (this is a
@@ -289,6 +288,7 @@ int wxSystemSettingsNative::GetMetric( wxSystemMetric index,
         // TODO case wxSYS_SWAP_BUTTONS:
 
         default:
         // TODO case wxSYS_SWAP_BUTTONS:
 
         default:
+            break;
     }
     return -1;  // unsupported metric
 }
     }
     return -1;  // unsupported metric
 }
@@ -300,8 +300,11 @@ bool wxSystemSettingsNative::HasFeature( wxSystemFeature index )
         case wxSYS_CAN_ICONIZE_FRAME:
             return true;
 
         case wxSYS_CAN_ICONIZE_FRAME:
             return true;
 
-        case wxSYS_CAN_DRAW_FRAME_DECORATIONS:
-            return false;
+        // TODO case wxSYS_CAN_DRAW_FRAME_DECORATIONS:
+        // TODO case wxSYS_TABLET_PRESENT:
+
+        default:
+            break;
     }
 
     return false;
     }
 
     return false;