adaptions for latest dc changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1123,8 +1123,9 @@ void wxActiveXContainer::OnPaint(wxPaintEvent& WXUNUSED(event))
|
||||
::InvalidateRect(m_oleObjectHWND, NULL, false);
|
||||
#endif
|
||||
RECTL *prcBounds = (RECTL *) &posRect;
|
||||
wxMSWDCImpl *msw = wxDynamicCast( dc.GetImpl() , wxMSWDCImpl );
|
||||
m_viewObject->Draw(DVASPECT_CONTENT, -1, NULL, NULL, NULL,
|
||||
(HDC)dc.GetHDC(), prcBounds, NULL, NULL, 0);
|
||||
(HDC)msw->GetHDC(), prcBounds, NULL, NULL, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user