Added wxAppTraits::CreateGSocket() as well as implementations for wxBase and
wxGUI. This method should return a new derived instance of GSocketBSD which implements the EventLoop_ pure virtual functions appropriately. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -605,5 +605,14 @@ GSocketGUIFunctionsTable* wxGUIAppTraitsBase::GetSocketGUIFunctionsTable()
|
||||
#endif // !__WXMAC__ || __DARWIN__
|
||||
}
|
||||
|
||||
GSocketBSD* wxGUIAppTraitsBase::CreateGSocket()
|
||||
{
|
||||
#ifdef wxUSE_GSOCKET_CPLUSPLUS
|
||||
return new GSocketBSDGUIShim();
|
||||
#else
|
||||
return NULL;
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user