more socket cleanup to allow using wxSocket from both wxBase and wxCore (replaces patch 1756260)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -67,6 +67,17 @@ public:
|
||||
#if defined(__WXDEBUG__) && defined(__WXGTK20__)
|
||||
virtual bool ShowAssertDialog(const wxString& msg);
|
||||
#endif
|
||||
|
||||
// GTK+ and Motif integrate sockets directly in their main loop, the other
|
||||
// Unix ports do it at wxEventLoop level
|
||||
//
|
||||
// TODO: Should we use XtAddInput() for wxX11 too? Or, vice versa, if there
|
||||
// is no advantage in doing this compared to the generic way
|
||||
// currently used by wxX11, should we continue to use GTK/Motif-
|
||||
// specific stuff?
|
||||
#if wxUSE_SOCKETS && (defined(__WXGTK__) || defined(__WXMOTIF__))
|
||||
virtual GSocketManager *GetSocketManager();
|
||||
#endif
|
||||
};
|
||||
|
||||
#endif // wxUSE_GUI
|
||||
|
Reference in New Issue
Block a user