From 24a7b718892e61ec4f02befd9c6e67990b574777 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Fri, 20 Oct 2006 09:34:11 +0000 Subject: [PATCH] replacing old core graphics with new graphics context implementation git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/carbon/dc.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/include/wx/mac/carbon/dc.h b/include/wx/mac/carbon/dc.h index d8f285e5bb..c0e60d151d 100644 --- a/include/wx/mac/carbon/dc.h +++ b/include/wx/mac/carbon/dc.h @@ -36,6 +36,12 @@ class wxMacPortStateHelper; +#if wxUSE_GRAPHICS_CONTEXT + +#include "wx/graphics.h" + +#else + class WXDLLEXPORT wxGraphicPath { public : @@ -343,7 +349,6 @@ public: #if wxMAC_USE_CORE_GRAPHICS wxGraphicContext *m_graphicContext; - wxPoint m_macLocalOriginInPort; #else void MacInstallPen() const; void MacInstallBrush() const; @@ -367,4 +372,6 @@ public: #endif }; +#endif + #endif // _WX_DC_H_ -- 2.45.2