Make the Connect that also takes a local bind port non-virtual. This silences some compiler warnings (Borland, Watcom). Plus, it's not likely that this method would need to be overridden anyway since it has rather limited and specific uses.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -256,7 +256,7 @@ public:
|
|||||||
virtual ~wxSocketClient();
|
virtual ~wxSocketClient();
|
||||||
|
|
||||||
virtual bool Connect(wxSockAddress& addr, bool wait = true);
|
virtual bool Connect(wxSockAddress& addr, bool wait = true);
|
||||||
virtual bool Connect(wxSockAddress& addr, wxSockAddress& local, bool wait = true);
|
bool Connect(wxSockAddress& addr, wxSockAddress& local, bool wait = true);
|
||||||
|
|
||||||
bool WaitOnConnect(long seconds = -1, long milliseconds = 0);
|
bool WaitOnConnect(long seconds = -1, long milliseconds = 0);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user