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:
@@ -160,13 +160,6 @@ void wxSocketManager::Init()
|
||||
// wxSocketImpl
|
||||
// ==========================================================================
|
||||
|
||||
/* static */
|
||||
wxSocketImpl *wxSocketImpl::Create(wxSocketBase& wxsocket)
|
||||
{
|
||||
wxSocketManager * const manager = wxSocketManager::Get();
|
||||
return manager ? manager->CreateSocket(wxsocket) : NULL;
|
||||
}
|
||||
|
||||
wxSocketImpl::wxSocketImpl(wxSocketBase& wxsocket)
|
||||
: m_wxsocket(&wxsocket)
|
||||
{
|
||||
|
Reference in New Issue
Block a user