From: Włodzimierz Skiba Date: Sun, 13 Nov 2005 21:48:53 +0000 (+0000) Subject: eVC3/PPC2002 build fix. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d12684011751ce0d6f6b70b3582178d59292fffe eVC3/PPC2002 build fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/ole/activex.cpp b/src/msw/ole/activex.cpp index fc98aa3fff..bddc57e3a9 100644 --- a/src/msw/ole/activex.cpp +++ b/src/msw/ole/activex.cpp @@ -802,7 +802,7 @@ void wxActiveXContainer::OnPaint(wxPaintEvent& WXUNUSED(event)) posRect.right = w; posRect.bottom = h; -#if defined(__SMARTPHONE__) && defined(_WIN32_WCE) && _WIN32_WCE < 400 +#if defined(_WIN32_WCE) && _WIN32_WCE < 400 ::InvalidateRect(m_oleObjectHWND, NULL, false); #else ::RedrawWindow(m_oleObjectHWND, NULL, NULL, RDW_INTERNALPAINT);