diff --git a/src/mac/carbon/graphics.cpp b/src/mac/carbon/graphics.cpp index 0119269f1c..9257e7fc31 100755 --- a/src/mac/carbon/graphics.cpp +++ b/src/mac/carbon/graphics.cpp @@ -1412,7 +1412,6 @@ void wxMacCoreGraphicsContext::EnsureIsValid() hishape.Set( HIShapeCreateMutableCopy( m_clipRgn ) ); CGPoint transformedOrigin = CGPointApplyAffineTransform( CGPointZero,m_windowTransform); HIShapeOffset( hishape, -transformedOrigin.x, -transformedOrigin.y ); - HIShapeReplacePathInCGContext( hishape, m_cgContext ); // if the shape is empty, HIShapeReplacePathInCGContext doesn't work if ( HIShapeIsEmpty(hishape)) {