X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9626e0bfc6ae68c9068cdca7a9a43c8e820c5eb9..121a3581d3545e8eadcb3c8bec31dd507132e83f:/src/generic/dcpsg.cpp diff --git a/src/generic/dcpsg.cpp b/src/generic/dcpsg.cpp index a611e4881d..20da80c43b 100644 --- a/src/generic/dcpsg.cpp +++ b/src/generic/dcpsg.cpp @@ -315,6 +315,8 @@ wxPostScriptDC::wxPostScriptDC (const wxPrintData& printData) m_signY = -1; // default y-axis bottom up -> top down m_printData = printData; + + m_ok = TRUE; } wxPostScriptDC::~wxPostScriptDC () @@ -1335,7 +1337,7 @@ void wxPostScriptDC::EndDoc () *m_pstream << "%!PS-Adobe-2.0\n"; /* PostScript magic strings */ *m_pstream << "%%Title: " << m_title.mb_str() << "\n"; *m_pstream << "%%Creator: " << wxTheApp->argv[0] << "\n"; - *m_pstream << "%%CreationDate: " << wxNow() << "\n"; + *m_pstream << "%%CreationDate: " << wxNow().mb_str() << "\n"; wxChar userID[256]; if ( wxGetEmailAddress(userID, sizeof(userID)) )