From: Stefan Csomor Date: Fri, 20 Oct 2006 09:34:11 +0000 (+0000) Subject: replacing old core graphics with new graphics context implementation X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/24a7b718892e61ec4f02befd9c6e67990b574777?ds=inline 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 --- 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_