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:
Ron Lee
2000-02-06 09:06:54 +00:00
parent 70c7a608b4
commit 0bd62129f6
2 changed files with 10 additions and 0 deletions

View File

@@ -1383,6 +1383,11 @@ void wxWindowDC::DoSetClippingRegionAsRegion( const wxRegion &region )
return;
}
wxCoord x,y,w,h;
region.GetBox( x, y, w, h );
wxDC::DoSetClippingRegion( x, y, w, h );
if (!m_window) return;
gdk_gc_set_clip_region( m_penGC, region.GetRegion() );