Compile with printarch off
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -136,11 +136,13 @@ wxDCImpl* wxNativeDCFactory::CreateScreenDC( wxScreenDC *owner )
|
||||
return new wxScreenDCImpl( owner );
|
||||
}
|
||||
|
||||
#if wxUSE_PRINTING_ARCHITECTURE
|
||||
wxDCImpl *wxNativeDCFactory::CreatePrinterDC( wxPrinterDC *owner, const wxPrintData &data )
|
||||
{
|
||||
wxPrintFactory *factory = wxPrintFactory::GetFactory();
|
||||
return factory->CreatePrinterDCImpl( owner, data );
|
||||
}
|
||||
#endif
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// wxWindowDC
|
||||
@@ -257,6 +259,8 @@ wxScreenDC::wxScreenDC()
|
||||
// wxPrinterDC
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#if wxUSE_PRINTING_ARCHITECTURE
|
||||
|
||||
IMPLEMENT_DYNAMIC_CLASS(wxPrinterDC, wxDC)
|
||||
|
||||
wxPrinterDC::wxPrinterDC()
|
||||
@@ -286,6 +290,7 @@ int wxPrinterDC::GetResolution()
|
||||
return GetImpl()->GetResolution();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// wxDCImpl
|
||||
|
||||
Reference in New Issue
Block a user