diff --git a/src/common/dcgraph.cpp b/src/common/dcgraph.cpp index 8f5f04b810..90f856609a 100644 --- a/src/common/dcgraph.cpp +++ b/src/common/dcgraph.cpp @@ -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