New classes for OS/2 and compiler warning suppressions

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2005-04-07 04:08:43 +00:00
parent 6b82ff6f9f
commit 322d45dd73
6 changed files with 256 additions and 8 deletions

View File

@@ -1304,7 +1304,7 @@ void wxDC::DoDrawBitmap(
if (!IsKindOf(CLASSINFO(wxPrinterDC)))
{
HBITMAP hBitmap = (HBITMAP)rBmp.GetHBITMAP();
HBITMAP hBitmapOld;
HBITMAP hBitmapOld = NULLHANDLE;;
POINTL vPoint[4];
vY = OS2Y(vY,rBmp.GetHeight());
@@ -2842,8 +2842,8 @@ void wxDC::DoGetSizeMM(
wxSize wxDC::GetPPI() const
{
LONG lArray[CAPS_VERTICAL_RESOLUTION];
int nWidth;
int nHeight;
int nWidth = 0;
int nHeight = 0;
if(::DevQueryCaps( m_hDC
,CAPS_FAMILY