patched DoSetClippingRegionAsRegion to update clipping state vars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1383,6 +1383,11 @@ void wxWindowDC::DoSetClippingRegionAsRegion( const wxRegion ®ion )
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wxCoord x,y,w,h;
|
||||||
|
region.GetBox( x, y, w, h );
|
||||||
|
|
||||||
|
wxDC::DoSetClippingRegion( x, y, w, h );
|
||||||
|
|
||||||
if (!m_window) return;
|
if (!m_window) return;
|
||||||
|
|
||||||
gdk_gc_set_clip_region( m_penGC, region.GetRegion() );
|
gdk_gc_set_clip_region( m_penGC, region.GetRegion() );
|
||||||
|
@@ -1383,6 +1383,11 @@ void wxWindowDC::DoSetClippingRegionAsRegion( const wxRegion ®ion )
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wxCoord x,y,w,h;
|
||||||
|
region.GetBox( x, y, w, h );
|
||||||
|
|
||||||
|
wxDC::DoSetClippingRegion( x, y, w, h );
|
||||||
|
|
||||||
if (!m_window) return;
|
if (!m_window) return;
|
||||||
|
|
||||||
gdk_gc_set_clip_region( m_penGC, region.GetRegion() );
|
gdk_gc_set_clip_region( m_penGC, region.GetRegion() );
|
||||||
|
Reference in New Issue
Block a user