]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/settings.cpp
rtti api mods added
[wxWidgets.git] / src / os2 / settings.cpp
index 4c70221cb8ae57ea3e9b8766779fdc05bc6345fc..b34ca6d079a305e783e408c1ebde4f9035dbfc50 100644 (file)
@@ -18,9 +18,9 @@
 #include "wx/pen.h"
 #include "wx/brush.h"
 #include "wx/gdicmn.h"
-#include "wx/module.h"
 #endif
 
+#include "wx/module.h"
 #include "wx/settings.h"
 #include "wx/window.h"
 #include "wx/os2/private.h"
@@ -316,11 +316,9 @@ int wxSystemSettingsNative::GetMetric(
             // TODO
             return 0;
         case wxSYS_SCREEN_X:
-            // TODO
-            return 0;
+            return ::WinQuerySysValue(HWND_DESKTOP,SV_CXSCREEN);
         case wxSYS_SCREEN_Y:
-            // TODO
-            return 0;
+            return ::WinQuerySysValue(HWND_DESKTOP,SV_CYSCREEN);
         case wxSYS_FRAMESIZE_X:
             // TODO
             return 0;