Prepare for GSocket C->C++ migration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -588,6 +588,10 @@ void wxGUIAppTraitsBase::RemoveFromPendingDelete(wxObject *object)
|
|||||||
|
|
||||||
GSocketGUIFunctionsTable* wxGUIAppTraitsBase::GetSocketGUIFunctionsTable()
|
GSocketGUIFunctionsTable* wxGUIAppTraitsBase::GetSocketGUIFunctionsTable()
|
||||||
{
|
{
|
||||||
|
#if defined(__WINDOWS__) && defined(wxUSE_GSOCKET_CPLUSPLUS)
|
||||||
|
static GSocketGUIFunctionsTableConcrete table;
|
||||||
|
return &table;
|
||||||
|
#else
|
||||||
#if defined(__WXMAC__) && !defined(__DARWIN__)
|
#if defined(__WXMAC__) && !defined(__DARWIN__)
|
||||||
// NB: wxMac CFM does not have any GUI-specific functions in gsocket.c and
|
// NB: wxMac CFM does not have any GUI-specific functions in gsocket.c and
|
||||||
// so it doesn't need this table at all
|
// so it doesn't need this table at all
|
||||||
@@ -608,6 +612,7 @@ GSocketGUIFunctionsTable* wxGUIAppTraitsBase::GetSocketGUIFunctionsTable()
|
|||||||
};
|
};
|
||||||
return &table;
|
return &table;
|
||||||
#endif // !__WXMAC__ || __DARWIN__
|
#endif // !__WXMAC__ || __DARWIN__
|
||||||
|
#endif // defined(__WINDOWS__) && defined(wxUSE_GSOCKET_CPLUSPLUS)
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user