Next phase of Print Factory code.

Created a mini interface so that the generic
    wxPrintDialog can show a "printer" and a
    "status" line if the print factory wants
    this to be the case.
    Moved some code (print mode) back from the
    PostScript only print data to the general
    print data since it is sort of general.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2004-10-26 19:49:59 +00:00
parent 63de666d9d
commit 6038ec8eaf
7 changed files with 222 additions and 109 deletions

View File

@@ -171,6 +171,7 @@ wxPrintData::wxPrintData()
m_nativePrintData = wxNativePrintData::Create() ;
#endif
m_bin = wxPRINTBIN_DEFAULT;
m_printMode = wxPRINT_MODE_PRINTER;
m_printOrientation = wxPORTRAIT;
m_printNoCopies = 1;
m_printCollate = false;
@@ -228,6 +229,7 @@ void wxPrintData::operator=(const wxPrintData& data)
m_paperId = data.m_paperId;
m_paperSize = data.m_paperSize;
m_bin = data.m_bin;
m_printMode = data.m_printMode;
m_nativeData = data.GetNativeData();
m_nativeData->m_ref++;