more socket cleanup to allow using wxSocket from both wxBase and wxCore (replaces patch 1756260)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -545,28 +545,3 @@ void wxGUIAppTraitsBase::RemoveFromPendingDelete(wxObject *object)
|
||||
wxPendingDelete.DeleteObject(object);
|
||||
}
|
||||
|
||||
#if wxUSE_SOCKETS
|
||||
|
||||
#if defined(__WINDOWS__)
|
||||
#include "wx/msw/gsockmsw.h"
|
||||
#elif defined(__UNIX__) || defined(__DARWIN__) || defined(__OS2__)
|
||||
#include "wx/unix/gsockunx.h"
|
||||
#elif defined(__WXMAC__)
|
||||
#include <MacHeaders.c>
|
||||
#define OTUNIXERRORS 1
|
||||
#include <OpenTransport.h>
|
||||
#include <OpenTransportProviders.h>
|
||||
#include <OpenTptInternet.h>
|
||||
|
||||
#include "wx/mac/gsockmac.h"
|
||||
#else
|
||||
#error "Must include correct GSocket header here"
|
||||
#endif
|
||||
|
||||
GSocketGUIFunctionsTable* wxGUIAppTraitsBase::GetSocketGUIFunctionsTable()
|
||||
{
|
||||
static GSocketGUIFunctionsTableConcrete table;
|
||||
return &table;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user