X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3925a44ce0e70080252c0abe71a098a219f3dd3c..5bcdf503fa91515103271d457c34e75391227373:/src/mac/carbon/dcprint.cpp diff --git a/src/mac/carbon/dcprint.cpp b/src/mac/carbon/dcprint.cpp index 58b2eb7a13..93102ac245 100644 --- a/src/mac/carbon/dcprint.cpp +++ b/src/mac/carbon/dcprint.cpp @@ -224,8 +224,7 @@ void wxMacCarbonPrinterDC::StartPage( wxPrinterDC* dc ) CGContextTranslateCTM( pageContext , -paperRect.left , paperRect.bottom ) ; CGContextScaleCTM( pageContext , 1 , -1 ) ; #else - dc->m_macLocalOrigin.x = (int) rPage.left; - dc->m_macLocalOrigin.y = (int) rPage.top; + dc->SetDeviceLocalOrigin( (wxCoord) rPage.left, (wxCoord) rPage.top ); #endif } // since this is a non-critical error, we set the flag back