X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1181ee3f2d466ef964633830f90951dcd2f61dac..917ae499da53826e9b154a786eae1b563317f47f:/src/mac/carbon/dcscreen.cpp diff --git a/src/mac/carbon/dcscreen.cpp b/src/mac/carbon/dcscreen.cpp index 85ca733a5e..6f7d714228 100644 --- a/src/mac/carbon/dcscreen.cpp +++ b/src/mac/carbon/dcscreen.cpp @@ -34,8 +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 ;