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:
@@ -1625,8 +1625,9 @@ bool wxMacCoreGraphicsContext::EnsureIsValid()
|
|||||||
#endif
|
#endif
|
||||||
if ( m_cgContext )
|
if ( m_cgContext )
|
||||||
{
|
{
|
||||||
CGContextConcatCTM( m_cgContext, m_windowTransform );
|
|
||||||
CGContextSaveGState( m_cgContext );
|
CGContextSaveGState( m_cgContext );
|
||||||
|
CGContextConcatCTM( m_cgContext, m_windowTransform );
|
||||||
|
CGContextSetTextMatrix( m_cgContext, CGAffineTransformIdentity );
|
||||||
m_contextSynthesized = true;
|
m_contextSynthesized = true;
|
||||||
#if wxOSX_USE_COCOA_OR_CARBON
|
#if wxOSX_USE_COCOA_OR_CARBON
|
||||||
if ( m_clipRgn.get() )
|
if ( m_clipRgn.get() )
|
||||||
|
Reference in New Issue
Block a user