really fix VC6 compilation of all testsi (without breaking VC9)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-11-03 00:31:16 +00:00
parent 8112fbf0d7
commit 527587d347
5 changed files with 69 additions and 68 deletions

View File

@@ -79,7 +79,7 @@ wxSockAddressPtr SocketTestCase::GetServer() const
addr->Hostname(gs_serverHost);
addr->Service("www");
ptr.reset(addr);
ptr = wxSockAddressPtr(addr);
}
return ptr;
@@ -104,7 +104,7 @@ wxSocketClientPtr SocketTestCase::GetHTTPSocket(int flags) const
sock->Write(httpGetRoot.ToAscii(), httpGetRoot.length());
ptr.reset(sock);
ptr = wxSocketClientPtr(sock);
return ptr;
}