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:
Artur Wieczorek
2016-07-03 22:11:17 +02:00
parent d50f331a99
commit 0b8975ac18

View File

@@ -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