X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ba3e10c9f4546fc991957fed40360fe245dd6151..46a5010a06b09318878c33a0a6a532f419ea063d:/src/os2/dcclient.cpp diff --git a/src/os2/dcclient.cpp b/src/os2/dcclient.cpp index e1be6a1052..083b902b3d 100644 --- a/src/os2/dcclient.cpp +++ b/src/os2/dcclient.cpp @@ -319,7 +319,7 @@ wxPaintDC::wxPaintDC( { HPS hPS; - m_hDC = (WXHDC)::WinOpenWindowDC(GetWinHwnd(m_pCanvas)); + m_hDC = ::WinOpenWindowDC(GetWinHwnd(m_pCanvas)); hPS = ::WinBeginPaint( GetWinHwnd(m_pCanvas) ,NULLHANDLE ,&g_paintStruct