Added implementations for two cases of wxSystemSettingsNative::GetMetric to

make wxTextEntryDialog work.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2003-08-07 23:14:32 +00:00
parent d199418df1
commit 7f1d11ee6b

View 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;