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:
@@ -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))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user