Add another explicit conversion from wxString to "const wchar_t*"
Fix build in wxUSE_STL=1 configuration.
This commit is contained in:
@@ -288,7 +288,7 @@ void wxWebRequestWinHTTP::Start()
|
|||||||
m_connect = ::WinHttpConnect
|
m_connect = ::WinHttpConnect
|
||||||
(
|
(
|
||||||
m_sessionWinHTTP.GetHandle(),
|
m_sessionWinHTTP.GetHandle(),
|
||||||
wxString(urlComps.lpszHostName, urlComps.dwHostNameLength),
|
wxString(urlComps.lpszHostName, urlComps.dwHostNameLength).wc_str(),
|
||||||
urlComps.nPort,
|
urlComps.nPort,
|
||||||
wxRESERVED_PARAM
|
wxRESERVED_PARAM
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user