wxMac CFM never has a GSocketGUIFunctionsTable

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott 2004-08-06 19:28:14 +00:00
parent cdf507928e
commit 1d2ec8e5a4

View File

@ -588,15 +588,15 @@ void wxGUIAppTraitsBase::RemoveFromPendingDelete(wxObject *object)
GSocketGUIFunctionsTable* wxGUIAppTraitsBase::GetSocketGUIFunctionsTable()
{
#if defined(wxUSE_GSOCKET_CPLUSPLUS)
static GSocketGUIFunctionsTableConcrete table;
return &table;
#else
#if defined(__WXMAC__) && !defined(__DARWIN__)
// NB: wxMac CFM does not have any GUI-specific functions in gsocket.c and
// so it doesn't need this table at all
return NULL;
#else // !__WXMAC__ || __DARWIN__
#if defined(wxUSE_GSOCKET_CPLUSPLUS)
static GSocketGUIFunctionsTableConcrete table;
return &table;
#else
static GSocketGUIFunctionsTable table =
{
_GSocket_GUI_Init,
@ -611,8 +611,8 @@ GSocketGUIFunctionsTable* wxGUIAppTraitsBase::GetSocketGUIFunctionsTable()
_GSocket_Disable_Events
};
return &table;
#endif // !__WXMAC__ || __DARWIN__
#endif // defined(wxUSE_GSOCKET_CPLUSPLUS)
#endif // !__WXMAC__ || __DARWIN__
}
#endif