X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ba3e10c9f4546fc991957fed40360fe245dd6151..1978421a6d8b81c1f8a961da4b8ddf544fec7b1b:/src/os2/dcclient.cpp?ds=sidebyside 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