coordinate adjustment not needed here anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -81,10 +81,6 @@ void wxMemoryDC::DoSelect( const wxBitmap& bitmap )
|
|||||||
{
|
{
|
||||||
CGContextSetFillColorSpace( bmCtx, genericColorSpace );
|
CGContextSetFillColorSpace( bmCtx, genericColorSpace );
|
||||||
CGContextSetStrokeColorSpace( bmCtx, genericColorSpace );
|
CGContextSetStrokeColorSpace( bmCtx, genericColorSpace );
|
||||||
|
|
||||||
CGContextTranslateCTM( bmCtx , 0 , m_selected.GetHeight() ) ;
|
|
||||||
CGContextScaleCTM( bmCtx , 1 , -1 ) ;
|
|
||||||
|
|
||||||
SetGraphicsContext( wxGraphicsContext::CreateFromNative( bmCtx ) );
|
SetGraphicsContext( wxGraphicsContext::CreateFromNative( bmCtx ) );
|
||||||
}
|
}
|
||||||
m_ok = (m_graphicContext != NULL) ;
|
m_ok = (m_graphicContext != NULL) ;
|
||||||
|
Reference in New Issue
Block a user