OS/2 Statusbar fixes, and class interface updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -755,6 +755,31 @@ void wxDisplaySize(
|
||||
*pHeight = (int)lHeight;
|
||||
}
|
||||
|
||||
void wxDisplaySizeMM(
|
||||
int* pWidth
|
||||
, int* pHeight
|
||||
)
|
||||
{
|
||||
HPS hpsScreen;
|
||||
HDC hdcScreen;
|
||||
|
||||
hpsScreen = ::WinGetScreenPS(HWND_DESKTOP);
|
||||
hdcScreen = ::GpiQueryDevice(hpsScreen);
|
||||
|
||||
if (pWidth)
|
||||
::DevQueryCaps( hdcScreen
|
||||
,CAPS_HORIZONTAL_RESOLUTION
|
||||
,1L
|
||||
,(PLONG)pWidth
|
||||
);
|
||||
if (pHeight)
|
||||
::DevQueryCaps( hdcScreen
|
||||
,CAPS_VERTICAL_RESOLUTION
|
||||
,1L
|
||||
,(PLONG)pHeight
|
||||
);
|
||||
}
|
||||
|
||||
bool wxDirExists(
|
||||
const wxString& rDir
|
||||
)
|
||||
|
Reference in New Issue
Block a user