Add another explicit conversion from wxString to "const wchar_t*"
Fix build in wxUSE_STL=1 configuration.
This commit is contained in:
parent
20a3317839
commit
3f783b15f0
1 changed files with 1 additions and 1 deletions
|
|
@ -288,7 +288,7 @@ void wxWebRequestWinHTTP::Start()
|
|||
m_connect = ::WinHttpConnect
|
||||
(
|
||||
m_sessionWinHTTP.GetHandle(),
|
||||
wxString(urlComps.lpszHostName, urlComps.dwHostNameLength),
|
||||
wxString(urlComps.lpszHostName, urlComps.dwHostNameLength).wc_str(),
|
||||
urlComps.nPort,
|
||||
wxRESERVED_PARAM
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue