diff --git a/src/common/http.cpp b/src/common/http.cpp index b82b4a3d7b..346896925a 100644 --- a/src/common/http.cpp +++ b/src/common/http.cpp @@ -90,7 +90,7 @@ void wxHTTP::SetHeader(const wxString& header, const wxString& h_data) wxNode *node = m_headers.Find(header); if (!node) - m_headers.Append(header.MakeUpper(), (wxObject *)(new wxString(h_data))); + m_headers.Append(header.Upper(), (wxObject *)(new wxString(h_data))); else { wxString *str = (wxString *)node->GetData(); (*str) = h_data;