From: Kevin Hock Date: Sun, 2 Apr 2006 04:56:18 +0000 (+0000) Subject: Make the Connect that also takes a local bind port non-virtual. This silences some... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/30dfb744887db030ee38663bd206df49cde64990 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 --- diff --git a/include/wx/socket.h b/include/wx/socket.h index d04a733fd0..401768641e 100644 --- a/include/wx/socket.h +++ b/include/wx/socket.h @@ -256,7 +256,7 @@ public: virtual ~wxSocketClient(); 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);