X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d254213eb2b973e826ed3bc84bc681a819eae091..55ae15512cbb4a36648fcd7543c6f816105b6228:/include/wx/unix/apptrait.h diff --git a/include/wx/unix/apptrait.h b/include/wx/unix/apptrait.h index 25b0ba9526..fe5639731a 100644 --- a/include/wx/unix/apptrait.h +++ b/include/wx/unix/apptrait.h @@ -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