]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/socket.cpp
Lotta stuff for drawing etc.
[wxWidgets.git] / src / common / socket.cpp
index 1eefad523fccf672368d4d7aacb0f338301edc4a..9436c636b6f7d40d8b0da87ae2014ae0e0249618 100644 (file)
@@ -1139,7 +1139,8 @@ bool wxSocketClient::WaitOnConnect(long seconds, long milliseconds)
   if (!m_establishing || !m_socket)     // No connection in progress
     return FALSE;
 
-  return _Wait(seconds, milliseconds, GSOCK_CONNECTION_FLAG);
+  return _Wait(seconds, milliseconds, GSOCK_CONNECTION_FLAG |
+                                      GSOCK_LOST_FLAG);
 }
 
 // ==========================================================================