From: Robin Dunn Date: Wed, 10 Mar 2004 01:18:15 +0000 (+0000) Subject: We need a file when printing to the printer too. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/610926ab51446ba93f2ec1d2369ae3fc77e59718 We need a file when printing to the printer too. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/dcpsg.cpp b/src/generic/dcpsg.cpp index d7477c3892..0cfafaaabc 100644 --- a/src/generic/dcpsg.cpp +++ b/src/generic/dcpsg.cpp @@ -1779,7 +1779,7 @@ bool wxPostScriptDC::StartDoc( const wxString& message ) { wxCHECK_MSG( m_ok, FALSE, wxT("invalid postscript dc") ); - if ( m_printData.GetPrintMode() == wxPRINT_MODE_FILE ) + if ( m_printData.GetPrintMode() != wxPRINT_MODE_STREAM ) { if (m_printData.GetFilename() == wxT("")) {