remove wxSocketManager::CreateSocket() function, we don't need to have different wxSocketImpl implementation for the same platform, all the differences between console and GUI applications are abstracted by wxSocketManager::Install/Uninstall_Callback() methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -431,6 +431,12 @@ struct servent *wxGetservbyname_r(const char *port, const char *protocol,
|
||||
# define SOCKET_DEBUG(args)
|
||||
#endif /* __GSOCKET_DEBUG__ */
|
||||
|
||||
/* static */
|
||||
wxSocketImpl *wxSocketImpl::Create(wxSocketBase& wxsocket)
|
||||
{
|
||||
return new wxSocketImplUnix(wxsocket);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Disallow further read/write operations on this socket, close
|
||||
@@ -1680,4 +1686,5 @@ wxSocketError GAddress_UNIX_GetPath(GAddress *address, char *path, size_t sbuf)
|
||||
return wxSOCKET_NOERROR;
|
||||
}
|
||||
#endif /* !defined(__VISAGECPP__) */
|
||||
|
||||
#endif /* wxUSE_SOCKETS */
|
||||
|
Reference in New Issue
Block a user