From 68a2e005a51a87df6cc445345f27443e57ab3608 Mon Sep 17 00:00:00 2001 From: Stefan Neis Date: Thu, 7 Aug 2003 23:14:32 +0000 Subject: [PATCH] Added implementations for two cases of wxSystemSettingsNative::GetMetric to make wxTextEntryDialog work. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/os2/settings.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/os2/settings.cpp b/src/os2/settings.cpp index 47b35142a9..b34ca6d079 100644 --- a/src/os2/settings.cpp +++ b/src/os2/settings.cpp @@ -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; -- 2.45.2