From ec17cfa9277fcc58104bced285c23943707789c3 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 18 Feb 2005 19:24:09 +0000 Subject: [PATCH] Don't know if this is right but it fixes a compile error... git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/dcscreen.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mac/carbon/dcscreen.cpp b/src/mac/carbon/dcscreen.cpp index 85ca733a5e..f5012952b9 100644 --- a/src/mac/carbon/dcscreen.cpp +++ b/src/mac/carbon/dcscreen.cpp @@ -34,8 +34,10 @@ 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 ; -- 2.50.0