From: Stefan Csomor Date: Wed, 30 Sep 2009 17:50:49 +0000 (+0000) Subject: fixing text matrix (dataview custom renderer showed problems) and reordering SaveGState X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6bd1764f2716e8d0814edd6374b20960bba23579 fixing text matrix (dataview custom renderer showed problems) and reordering SaveGState git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/osx/carbon/graphics.cpp b/src/osx/carbon/graphics.cpp index d5f4f7e704..5389a37e14 100644 --- a/src/osx/carbon/graphics.cpp +++ b/src/osx/carbon/graphics.cpp @@ -1625,8 +1625,9 @@ bool wxMacCoreGraphicsContext::EnsureIsValid() #endif if ( m_cgContext ) { - CGContextConcatCTM( m_cgContext, m_windowTransform ); CGContextSaveGState( m_cgContext ); + CGContextConcatCTM( m_cgContext, m_windowTransform ); + CGContextSetTextMatrix( m_cgContext, CGAffineTransformIdentity ); m_contextSynthesized = true; #if wxOSX_USE_COCOA_OR_CARBON if ( m_clipRgn.get() )