X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ce22d615fe940444602cf4c167f9ad29361a5d25..b951c85fec31e70aa092e1b8bdb6f55b82707a26:/src/common/http.cpp diff --git a/src/common/http.cpp b/src/common/http.cpp index 0853234490..eca6160a5e 100644 --- a/src/common/http.cpp +++ b/src/common/http.cpp @@ -225,7 +225,7 @@ bool wxHTTP::BuildRequest(const wxString& path, wxHTTP_Req req) wxString buf; buf.Printf(wxT("%s %s HTTP/1.0\r\n"), request, path.c_str()); - const wxWX2MBbuf pathbuf = wxConvLibc.cWX2MB(buf); + const wxWX2MBbuf pathbuf = wxConvLocal.cWX2MB(buf); Write(pathbuf, strlen(wxMBSTRINGCAST pathbuf)); SendHeaders(); Write("\r\n", 2);