git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28674
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
GSocketGUIFunctionsTable* wxGUIAppTraitsBase::GetSocketGUIFunctionsTable()
{
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__
#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__
+#if defined(wxUSE_GSOCKET_CPLUSPLUS)
+ static GSocketGUIFunctionsTableConcrete table;
+ return &table;
+#else
static GSocketGUIFunctionsTable table =
{
_GSocket_GUI_Init,
static GSocketGUIFunctionsTable table =
{
_GSocket_GUI_Init,
_GSocket_Disable_Events
};
return &table;
_GSocket_Disable_Events
};
return &table;
-#endif // !__WXMAC__ || __DARWIN__
#endif // defined(wxUSE_GSOCKET_CPLUSPLUS)
#endif // defined(wxUSE_GSOCKET_CPLUSPLUS)
+#endif // !__WXMAC__ || __DARWIN__