]> git.saurik.com Git - wxWidgets.git/commitdiff
Added implementations for two cases of wxSystemSettingsNative::GetMetric to
authorStefan Neis <Stefan.Neis@t-online.de>
Thu, 7 Aug 2003 23:14:32 +0000 (23:14 +0000)
committerStefan Neis <Stefan.Neis@t-online.de>
Thu, 7 Aug 2003 23:14:32 +0000 (23:14 +0000)
        make wxTextEntryDialog work.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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;