X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7e99520bd3fc092bbbcbc38bb699a0236618ea40..f8c5636c42238296eb67bf73d1da3c5acb010fee:/src/os2/dcclient.cpp?ds=inline diff --git a/src/os2/dcclient.cpp b/src/os2/dcclient.cpp index 27ae79a395..af77090fd1 100644 --- a/src/os2/dcclient.cpp +++ b/src/os2/dcclient.cpp @@ -150,7 +150,7 @@ wxClientDC::wxClientDC(wxWindow *the_canvas) m_hDC = (WXHDC) ::WinOpenWindowDC(GetWinHwnd(the_canvas)); m_hPS = ::GpiCreatePS( wxGetInstance() ,m_hDC - ,&sizl + ,&vSizl ,PU_PELS | GPIF_LONG | GPIA_ASSOC ); @@ -208,7 +208,7 @@ wxPaintDC::wxPaintDC( wxWindow* pCanvas ) { - wxCHECK_RET( canvas, wxT("NULL canvas in wxPaintDC ctor") ); + wxCHECK_RET(pCanvas, wxT("NULL canvas in wxPaintDC ctor")); #ifdef __WXDEBUG__ if (g_isPainting <= 0) @@ -265,7 +265,7 @@ wxPaintDC::~wxPaintDC() if ( !--info->count ) { ::WinEndPaint(m_hPS); - m_hPS = m_OldhPS; + m_hPS = m_hOldPS; m_bIsPaintTime = FALSE; ms_cache.Remove(index); }