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:
@@ -1779,7 +1779,7 @@ bool wxPostScriptDC::StartDoc( const wxString& message )
|
|||||||
{
|
{
|
||||||
wxCHECK_MSG( m_ok, FALSE, wxT("invalid postscript dc") );
|
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(""))
|
if (m_printData.GetFilename() == wxT(""))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user