]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/socket.cpp
minor changes (a couple of error messages added to wxExecute)
[wxWidgets.git] / src / common / socket.cpp
index 414efb7b8e79ac9d5b999bd9af57ccec3e78d223..b92ed0e948e986923d5a48f2422fc73e7e5a21f8 100644 (file)
@@ -1246,9 +1246,9 @@ bool wxSocketClient::Connect(wxSockAddress& addr_man, bool WXUNUSED(wait) )
   return TRUE;
 }
 
-bool wxSocketClient::WaitOnConnect(long seconds)
+bool wxSocketClient::WaitOnConnect(long seconds, long microseconds)
 {
-  int ret = _Wait(seconds, 0, REQ_CONNECT | REQ_LOST);
+  int ret = _Wait(seconds, microseconds, REQ_CONNECT | REQ_LOST);
 
   if (ret)
     m_connected = TRUE;