]> git.saurik.com Git - wxWidgets.git/commitdiff
wxUSE_STL compilation fix
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 12 Oct 2008 22:27:49 +0000 (22:27 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 12 Oct 2008 22:27:49 +0000 (22:27 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/net/socket.cpp

index e77ff20abaf98842340cd08805d88be988d65f68..7929b5ae3450b4291525f54c342697ae9c9631d9 100644 (file)
@@ -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;