From 6bd1764f2716e8d0814edd6374b20960bba23579 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Wed, 30 Sep 2009 17:50:49 +0000 Subject: [PATCH] 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 --- src/osx/carbon/graphics.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() ) -- 2.45.2