From 610926ab51446ba93f2ec1d2369ae3fc77e59718 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 10 Mar 2004 01:18:15 +0000 Subject: [PATCH] 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 --- src/generic/dcpsg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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("")) { -- 2.45.2