X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ba3e10c9f4546fc991957fed40360fe245dd6151..d80f416f62c1fa60f020a785bee98ce71c749a42:/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