Use wxString::empty() to check if wxString is empty

This commit is contained in:
Artur Wieczorek 2017-02-20 21:57:16 +01:00
parent b37884b2cb
commit 9035a65d17

View File

@ -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);