diff --git a/src/generic/dcpsg.cpp b/src/generic/dcpsg.cpp index 303653cd3d..95a5fbe87b 100644 --- a/src/generic/dcpsg.cpp +++ b/src/generic/dcpsg.cpp @@ -1711,7 +1711,7 @@ bool wxPostScriptDCImpl::StartDoc( const wxString& WXUNUSED(message) ) if (m_printData.GetPrintMode() != wxPRINT_MODE_STREAM ) { - if (m_printData.GetFilename() == wxEmptyString) + if ( m_printData.GetFilename().empty() ) { wxString filename = wxFileName::CreateTempFileName( wxT("ps") ); m_printData.SetFilename(filename);