forward port from 2.6 - eVC3 fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: msw/ole/activex.cpp
|
||||
// Name: src/msw/ole/activex.cpp
|
||||
// Purpose: wxActiveXContainer implementation
|
||||
// Author: Ryan Norton <wxprojects@comcast.net>, Lindsay Mathieson <???>
|
||||
// Modified by:
|
||||
@@ -1123,7 +1123,11 @@ void wxActiveXContainer::OnPaint(wxPaintEvent& WXUNUSED(event))
|
||||
posRect.right = w;
|
||||
posRect.bottom = h;
|
||||
|
||||
#if !(defined(_WIN32_WCE) && _WIN32_WCE < 400)
|
||||
::RedrawWindow(m_oleObjectHWND, NULL, NULL, RDW_INTERNALPAINT);
|
||||
#else
|
||||
::InvalidateRect(m_oleObjectHWND, NULL, false);
|
||||
#endif
|
||||
RECTL *prcBounds = (RECTL *) &posRect;
|
||||
m_viewObject->Draw(DVASPECT_CONTENT, -1, NULL, NULL, NULL,
|
||||
(HDC)dc.GetHDC(), prcBounds, NULL, NULL, 0);
|
||||
|
Reference in New Issue
Block a user