X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/24a7b718892e61ec4f02befd9c6e67990b574777..ce4b7808ca940be201422a066de141ca12f13863:/include/wx/mac/carbon/dc.h?ds=sidebyside diff --git a/include/wx/mac/carbon/dc.h b/include/wx/mac/carbon/dc.h index c0e60d151d..2b40a0daa0 100644 --- a/include/wx/mac/carbon/dc.h +++ b/include/wx/mac/carbon/dc.h @@ -36,11 +36,7 @@ class wxMacPortStateHelper; -#if wxUSE_GRAPHICS_CONTEXT - -#include "wx/graphics.h" - -#else +#if !wxUSE_GRAPHICS_CONTEXT class WXDLLEXPORT wxGraphicPath { @@ -247,7 +243,7 @@ public: } #if wxMAC_USE_CORE_GRAPHICS - wxGraphicContext* GetGraphicContext() { return m_graphicContext; } + wxGraphicsContext* GetGraphicsContext() { return m_graphicContext; } #else WXHRGN MacGetCurrentClipRgn() { return m_macCurrentClipRgn; } static void MacSetupBackgroundForCurrentPort(const wxBrush& background ); @@ -348,7 +344,7 @@ public: WXHDC m_macPort; #if wxMAC_USE_CORE_GRAPHICS - wxGraphicContext *m_graphicContext; + wxGraphicsContext *m_graphicContext; #else void MacInstallPen() const; void MacInstallBrush() const;