X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f4ada568223b79c8a5769cc351c36a8e2ccd7841..7be4c5946c4d0754cc5bb25e3d2906364df89227:/include/wx/socket.h diff --git a/include/wx/socket.h b/include/wx/socket.h index a65b4683cd..7837b73813 100644 --- a/include/wx/socket.h +++ b/include/wx/socket.h @@ -8,11 +8,12 @@ // Copyright: (c) Guilhem Lavaux // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// + #ifndef _WX_NETWORK_SOCKET_H #define _WX_NETWORK_SOCKET_H #ifdef __GNUG__ -#pragma interface +#pragma interface "socket.h" #endif // --------------------------------------------------------------------------- @@ -258,7 +259,7 @@ public: virtual bool Connect(wxSockAddress& addr_man, bool wait = TRUE); - bool WaitOnConnect(long seconds = -1); + bool WaitOnConnect(long seconds = -1, long microseconds = 0); virtual void OnRequest(wxRequestEvent flags); };