if ( window->MacGetLeftBorderSize() != 0 || window->MacGetTopBorderSize() != 0 )
CGContextTranslateCTM( cg , -window->MacGetLeftBorderSize() , -window->MacGetTopBorderSize() );
- SetGraphicsContext( wxGraphicsContext::CreateFromNative( cg ) );
+ wxGraphicsContext* context = wxGraphicsContext::CreateFromNative( cg );
+ context->EnableOffset(true);
+ SetGraphicsContext( context );
}
DoSetClippingRegion( 0 , 0 , m_width , m_height ) ;