]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dcgraph.cpp
fix warnings
[wxWidgets.git] / src / common / dcgraph.cpp
index 14584924bafa9e8a30154bf745db52fcce17f91f..6c4e5345305292a733900e2e6168d33af3eb2115 100644 (file)
@@ -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
 }