Properly reset internal data when destroying clipping region (wxGCDC).
Call ResetClipping() function in wxGCDCImpl::DestroyClippingRegion() to be sure that all internal clipping data are reset properly.
This commit is contained in:
@@ -346,7 +346,7 @@ void wxGCDCImpl::DestroyClippingRegion()
|
||||
m_graphicContext->SetPen( m_pen );
|
||||
m_graphicContext->SetBrush( m_brush );
|
||||
|
||||
m_clipping = false;
|
||||
ResetClipping();
|
||||
}
|
||||
|
||||
void wxGCDCImpl::DoGetSizeMM( int* width, int* height ) const
|
||||
|
Reference in New Issue
Block a user