From 71be467a6cbb0788398a867cee7c133060366170 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Fri, 7 Mar 2008 16:50:27 +0000 Subject: [PATCH] cleaning up common OSX code git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/dcgraph.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/dcgraph.cpp b/src/common/dcgraph.cpp index 14584924ba..6c4e534530 100644 --- a/src/common/dcgraph.cpp +++ b/src/common/dcgraph.cpp @@ -30,8 +30,8 @@ #include "wx/dcclient.h" -#ifdef __WXMAC__ -#include "wx/mac/private.h" +#ifdef __WXOSX__ + #include "ApplicationServices/ApplicationServices.h" #endif //----------------------------------------------------------------------------- @@ -197,7 +197,7 @@ void wxGCDCImpl::EndPage() void wxGCDCImpl::Flush() { -#ifdef __WXMAC__ +#ifdef __WXOSX__ CGContextFlush( (CGContextRef) m_graphicContext->GetNativeContext() ); #endif }