git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54869
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
}
+#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()
{
return wxGraphicsRenderer::GetDefaultRenderer()->CreateContext(dc);
}
+#if wxUSE_PRINTING_ARCHITECTURE
/* static */ wxGraphicsContext* wxGraphicsContext::Create( const wxPrinterDC& dc)
{
return wxGraphicsRenderer::GetDefaultRenderer()->CreateContext(dc);
}
+#endif
wxGraphicsContext* wxGraphicsContext::CreateFromNative( void * context )
{