]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dcclient.cpp
added missing extern "C" required for Sun CC
[wxWidgets.git] / src / os2 / dcclient.cpp
index e1be6a1052a9041fb976c99207b216b1782e1ddc..083b902b3db14928f33c09e172ee46da0c926322 100644 (file)
@@ -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