]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/net/socket.cpp
use the currently active event loop for the event dispatching instead of wxYield...
[wxWidgets.git] / 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;