From 52a4b53fe18586c7cd8f97fe72bc49e1e8b98144 Mon Sep 17 00:00:00 2001 From: David Elliott Date: Tue, 3 Aug 2004 03:35:52 +0000 Subject: [PATCH] Prepare for GSocket C->C++ migration git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/appcmn.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/common/appcmn.cpp b/src/common/appcmn.cpp index 20699cb688..f1ea744608 100644 --- a/src/common/appcmn.cpp +++ b/src/common/appcmn.cpp @@ -588,6 +588,10 @@ void wxGUIAppTraitsBase::RemoveFromPendingDelete(wxObject *object) GSocketGUIFunctionsTable* wxGUIAppTraitsBase::GetSocketGUIFunctionsTable() { +#if defined(__WINDOWS__) && 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 @@ -608,6 +612,7 @@ GSocketGUIFunctionsTable* wxGUIAppTraitsBase::GetSocketGUIFunctionsTable() }; return &table; #endif // !__WXMAC__ || __DARWIN__ +#endif // defined(__WINDOWS__) && defined(wxUSE_GSOCKET_CPLUSPLUS) } #endif -- 2.45.2