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
This commit is contained in:
Stefan Csomor
2009-09-30 17:50:49 +00:00
parent 9a78f7856d
commit 6bd1764f27

View File

@@ -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() )