X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/71414756b2cb4d64ee167e61f3fa4854c4f2a85b..1d73f41603de8103218a8460792f244230c6a7b1:/src/common/http.cpp diff --git a/src/common/http.cpp b/src/common/http.cpp index 4a59548bf3..3f5a86b4ae 100644 --- a/src/common/http.cpp +++ b/src/common/http.cpp @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "http.h" #endif @@ -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)