Further wxDC changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -205,6 +205,21 @@ wxDialog *wxNativePrintFactory::CreatePrintSetupDialog( wxWindow *parent,
|
||||
#endif
|
||||
}
|
||||
|
||||
#if wxUSE_NEW_DC
|
||||
|
||||
wxImplDC* wxNativePrintFactory::CreatePrinterImplDC( wxPrinterDC *owner, const wxPrintData& data )
|
||||
{
|
||||
#if defined(__WXMSW__) && !defined(__WXUNIVERSAL__)
|
||||
return new wxWindowsPrinterDCImpl( owner, data );
|
||||
#elif defined(__WXMAC__)
|
||||
return new wxMacPrinterDCImpl( owner, data );
|
||||
#else
|
||||
return new wxPostScriptImplDC( owner, data );
|
||||
#endif
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
wxDC* wxNativePrintFactory::CreatePrinterDC( const wxPrintData& data )
|
||||
{
|
||||
#if defined(__WXMSW__) && !defined(__WXUNIVERSAL__)
|
||||
@@ -216,6 +231,8 @@ wxDC* wxNativePrintFactory::CreatePrinterDC( const wxPrintData& data )
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
bool wxNativePrintFactory::HasOwnPrintToFile()
|
||||
{
|
||||
// Only relevant for PostScript and here the
|
||||
|
Reference in New Issue
Block a user