]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/dcpsg.cpp
showing a bevel button for a multiline label (is not multline on the OS level, but...
[wxWidgets.git] / src / generic / dcpsg.cpp
index d7477c3892cf87cfead4e526ec599956ea62518f..0cfafaaabc6b3425ddfe58fc444ddd907eec05f3 100644 (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(""))
         {