X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a579926062c74ef4e5ff2f1ddfbd60bbb43efed5..1978421a6d8b81c1f8a961da4b8ddf544fec7b1b:/src/os2/settings.cpp diff --git a/src/os2/settings.cpp b/src/os2/settings.cpp index 4c70221cb8..b34ca6d079 100644 --- a/src/os2/settings.cpp +++ b/src/os2/settings.cpp @@ -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;