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
This commit is contained in:
Robin Dunn
2004-03-10 01:18:15 +00:00
parent 1111cedc6a
commit 610926ab51

View File

@@ -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(""))
{