diff --git a/src/common/http.cpp b/src/common/http.cpp index 4a59548bf3..9758181c72 100644 --- a/src/common/http.cpp +++ b/src/common/http.cpp @@ -103,7 +103,7 @@ wxString wxHTTP::GetHeader(const wxString& header) const { wxHeaderIterator it = FindHeader(header); - return it == m_headers.end() ? wxEmptyString : it->second; + return it == m_headers.end() ? wxGetEmptyString() : it->second; } void wxHTTP::SetPostBuffer(const wxString& post_buf)