m_nativePrintData = wxNativePrintData::Create() ;
#endif
m_bin = wxPRINTBIN_DEFAULT;
+ m_printMode = wxPRINT_MODE_PRINTER;
m_printOrientation = wxPORTRAIT;
m_printNoCopies = 1;
m_printCollate = false;
m_paperId = data.m_paperId;
m_paperSize = data.m_paperSize;
m_bin = data.m_bin;
+ m_printMode = data.m_printMode;
+ m_filename = data.m_filename;
m_nativeData = data.GetNativeData();
m_nativeData->m_ref++;
m_printSelection = false;
m_printEnableSelection = false;
m_printEnablePageNumbers = true;
- m_printEnablePrintToFile = true;
+
+ wxPrintFactory* factory = wxPrintFactory::GetFactory();
+ m_printEnablePrintToFile = ! factory->HasOwnPrintToFile();
+
m_printEnableHelp = false;
m_printSetupDialog = false;
}