remove duplicate line

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2008-05-30 17:14:58 +00:00
parent 66b926e0cf
commit 667902fa25

View File

@@ -1412,7 +1412,6 @@ void wxMacCoreGraphicsContext::EnsureIsValid()
hishape.Set( HIShapeCreateMutableCopy( m_clipRgn ) ); hishape.Set( HIShapeCreateMutableCopy( m_clipRgn ) );
CGPoint transformedOrigin = CGPointApplyAffineTransform( CGPointZero,m_windowTransform); CGPoint transformedOrigin = CGPointApplyAffineTransform( CGPointZero,m_windowTransform);
HIShapeOffset( hishape, -transformedOrigin.x, -transformedOrigin.y ); HIShapeOffset( hishape, -transformedOrigin.x, -transformedOrigin.y );
HIShapeReplacePathInCGContext( hishape, m_cgContext );
// if the shape is empty, HIShapeReplacePathInCGContext doesn't work // if the shape is empty, HIShapeReplacePathInCGContext doesn't work
if ( HIShapeIsEmpty(hishape)) if ( HIShapeIsEmpty(hishape))
{ {