From: Vadim Zeitlin Date: Sun, 12 Oct 2008 22:27:49 +0000 (+0000) Subject: wxUSE_STL compilation fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6b6b233ac081795be7ed83b836122aeb123a7372 wxUSE_STL compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/tests/net/socket.cpp b/tests/net/socket.cpp index e77ff20aba..7929b5ae34 100644 --- a/tests/net/socket.cpp +++ b/tests/net/socket.cpp @@ -99,7 +99,7 @@ wxSocketClientPtr SocketTestCase::GetHTTPSocket(int flags) const "Host: " + gs_serverHost + "\r\n" "\r\n"; - sock->Write(httpGetRoot, httpGetRoot.length()); + sock->Write(httpGetRoot.ToAscii(), httpGetRoot.length()); ptr.reset(sock); return ptr;