X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1d2ec8e5a4e8ea342812fc20dfdaedc1403393d4..a290fa5a7deebe9d96c0c0089d18e27d4bd9b624:/src/common/appcmn.cpp diff --git a/src/common/appcmn.cpp b/src/common/appcmn.cpp index 42d33f7c79..bed9667de4 100644 --- a/src/common/appcmn.cpp +++ b/src/common/appcmn.cpp @@ -593,25 +593,8 @@ GSocketGUIFunctionsTable* wxGUIAppTraitsBase::GetSocketGUIFunctionsTable() // 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, - _GSocket_GUI_Cleanup, - _GSocket_GUI_Init_Socket, - _GSocket_GUI_Destroy_Socket, -#ifndef __WINDOWS__ - _GSocket_Install_Callback, - _GSocket_Uninstall_Callback, -#endif - _GSocket_Enable_Events, - _GSocket_Disable_Events - }; - return &table; -#endif // defined(wxUSE_GSOCKET_CPLUSPLUS) #endif // !__WXMAC__ || __DARWIN__ }