]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/appcmn.cpp
invalidate best size cache when GTK style changes
[wxWidgets.git] / src / common / appcmn.cpp
index ff6aada11d7ea82efbdfa740b1df0eb3fdef9f87..bed9667de433bedfdb71a03150708c02736d2f69 100644 (file)
@@ -588,31 +588,14 @@ 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__
-    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__
-#endif // defined(wxUSE_GSOCKET_CPLUSPLUS)
 }
 
 #endif