X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cc44c7102fbab987280ad2dca7eb1e85ac70a9f6..807c0706e65d6d67b15d2acc53b0d41b6654c711:/src/mac/carbon/dcscreen.cpp?ds=sidebyside diff --git a/src/mac/carbon/dcscreen.cpp b/src/mac/carbon/dcscreen.cpp index 302e73a643..6f7d714228 100644 --- a/src/mac/carbon/dcscreen.cpp +++ b/src/mac/carbon/dcscreen.cpp @@ -34,7 +34,9 @@ wxScreenDC::wxScreenDC() SetPort( port ) ; m_macLocalOrigin.x = -pt.h ; m_macLocalOrigin.y = -pt.v ; - +#if wxMAC_USE_CORE_GRAPHICS + m_macLocalOriginInPort = m_macLocalOrigin ; +#endif BitMap screenBits; GetQDGlobalsScreenBits( &screenBits ); m_minX = screenBits.bounds.left ;