]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/dcscreen.cpp
applying OSAF patch for "toolbar selection not correct on Mac after calling Realize...
[wxWidgets.git] / src / mac / carbon / dcscreen.cpp
index 302e73a643ca5728e0b6c17cf155fccf3f8aa573..6f7d7142284f6137e1e26cb12accac7dafc64065 100644 (file)
@@ -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 ;