thread updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -738,12 +738,16 @@ void wxDisplaySize(
|
||||
{
|
||||
HPS hpsScreen;
|
||||
HDC hdcScreen;
|
||||
LONG lWidth;
|
||||
LONG lHeight;
|
||||
|
||||
hpsScreen = ::WinGetScreenPS(HWND_DESKTOP);
|
||||
hdcScreen = ::GpiQueryDevice(hpsScreen);
|
||||
::DevQueryCaps(hdcScreen, CAPS_WIDTH, 1L, (PLONG)pWidth);
|
||||
::DevQueryCaps(hdcScreen, CAPS_HEIGHT, 1L, (PLONG)pHeight);
|
||||
::DevQueryCaps(hdcScreen, CAPS_WIDTH, 1L, &lWidth);
|
||||
::DevQueryCaps(hdcScreen, CAPS_HEIGHT, 1L, &lHeight);
|
||||
DevCloseDC(hdcScreen);
|
||||
*pWidth = (int)lWidth;
|
||||
*pHeight = (int)lHeight;
|
||||
}
|
||||
|
||||
bool wxDirExists(
|
||||
|
Reference in New Issue
Block a user