#include "wx/dcclient.h"
#ifdef __WXOSX__
- #include "ApplicationServices/ApplicationServices.h"
+#ifdef __WXOSX_IPHONE__
+ #include <CoreGraphics/CoreGraphics.h>
+#else
+ #include <ApplicationServices/ApplicationServices.h>
+#endif
#endif
//-----------------------------------------------------------------------------
{
}
+#if wxUSE_PRINTING_ARCHITECTURE
wxGCDC::wxGCDC( const wxPrinterDC& dc) :
wxDC( new wxGCDCImpl( this, dc ) )
{
}
+#endif
wxGCDC::wxGCDC() :
wxDC( new wxGCDCImpl( this ) )
SetGraphicsContext( wxGraphicsContext::Create(dc) );
}
+#if wxUSE_PRINTING_ARCHITECTURE
wxGCDCImpl::wxGCDCImpl( wxDC *owner, const wxPrinterDC& dc ) :
wxDCImpl( owner )
{
Init();
SetGraphicsContext( wxGraphicsContext::Create(dc) );
}
+#endif
void wxGCDCImpl::Init()
{