]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dcgraph.cpp
gtk wxStaticText and wxALIGN_CENTER_VERTICAL
[wxWidgets.git] / src / common / dcgraph.cpp
index 0c51ae077308fc4bd8da2b7403d67746ac3ae38c..96516c4e5234baa3e89cb78affe88ac7c64546c3 100644 (file)
 #include "wx/dcclient.h"
 
 #ifdef __WXOSX__
 #include "wx/dcclient.h"
 
 #ifdef __WXOSX__
-    #include "ApplicationServices/ApplicationServices.h"
+#ifdef __WXOSX_IPHONE__
+    #include <CoreGraphics/CoreGraphics.h>
+#else
+    #include <ApplicationServices/ApplicationServices.h>
+#endif
 #endif
 
 //-----------------------------------------------------------------------------
 #endif
 
 //-----------------------------------------------------------------------------
@@ -237,10 +241,10 @@ void wxGCDCImpl::DoSetClippingRegion( wxCoord x, wxCoord y, wxCoord w, wxCoord h
     }
 }
 
     }
 }
 
-void wxGCDCImpl::DoSetClippingRegionAsRegion( const wxRegion &region )
+void wxGCDCImpl::DoSetDeviceClippingRegion( const wxRegion &region )
 {
     // region is in device coordinates
 {
     // region is in device coordinates
-    wxCHECK_RET( IsOk(), wxT("wxGCDC(cg)::DoSetClippingRegionAsRegion - invalid DC") );
+    wxCHECK_RET( IsOk(), wxT("wxGCDC(cg)::DoSetDeviceClippingRegion - invalid DC") );
 
     if (region.Empty())
     {
 
     if (region.Empty())
     {