X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..8ae4f08661d7b324d5cd7aa16ab1a7b2810d94f2:/src/common/appcmn.cpp diff --git a/src/common/appcmn.cpp b/src/common/appcmn.cpp index 20699cb688..bed9667de4 100644 --- a/src/common/appcmn.cpp +++ b/src/common/appcmn.cpp @@ -593,19 +593,7 @@ GSocketGUIFunctionsTable* wxGUIAppTraitsBase::GetSocketGUIFunctionsTable() // so it doesn't need this table at all return NULL; #else // !__WXMAC__ || __DARWIN__ - 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 - }; + static GSocketGUIFunctionsTableConcrete table; return &table; #endif // !__WXMAC__ || __DARWIN__ }