]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/dcscreen.cpp
adapting to bitmaprefdata changes
[wxWidgets.git] / src / mac / carbon / dcscreen.cpp
index 85ca733a5e1940bb0d26be05316d4731b13800b8..6f7d7142284f6137e1e26cb12accac7dafc64065 100644 (file)
@@ -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 ;