compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-06-29 00:39:13 +00:00
parent 22f69dd493
commit a03675d9ba

View File

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