git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43109
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void wxGDIPlusContext::Clip( const wxRegion ®ion )
{
void wxGDIPlusContext::Clip( const wxRegion ®ion )
{
- m_context->SetClip((HRGN)region.GetHRGN(),CombineModeIntersect);
+ Region rgn((HRGN)region.GetHRGN());
+ m_context->SetClip(&rgn,CombineModeIntersect);
}
void wxGDIPlusContext::Clip( wxDouble x, wxDouble y, wxDouble w, wxDouble h )
}
void wxGDIPlusContext::Clip( wxDouble x, wxDouble y, wxDouble w, wxDouble h )