X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6092f24fae51e015202cf5f6659e9811d86179df..98af9c738332c9a24475ad19efbfabe2b152c429:/src/msw/ole/activex.cpp 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);