]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/settings.cpp
Wrappers for *ToText
[wxWidgets.git] / src / os2 / settings.cpp
index 47b35142a9bb2409117976b6901b9dbef01adadf..b34ca6d079a305e783e408c1ebde4f9035dbfc50 100644 (file)
@@ -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;