From 9035a65d1704a863eb20f5f991fa3b3d3937f9a4 Mon Sep 17 00:00:00 2001 From: Artur Wieczorek Date: Mon, 20 Feb 2017 21:57:16 +0100 Subject: [PATCH] Use wxString::empty() to check if wxString is empty --- src/generic/dcpsg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);