-
- // wxThread helpers
- // ----------------
-
- // Darwin uses the same wxSocketManager in console and GUI and, like MSW,
- // uses SetDefaultSocketManager() to initialize it
-#if wxUSE_SOCKETS && !defined(__DARWIN__)
- // returns the select()-based socket manager for console applications which
- // is also used by some ports (wxX11, wxDFB) in the GUI build (hence it is
- // here and not in wxConsoleAppTraits)
- virtual wxSocketManager *GetSocketManager();
-#endif
+#if wxUSE_SOCKETS
+ // return a pointer to the object which should be used to integrate
+ // monitoring of the file descriptors to the event loop (currently this is
+ // used for the sockets only but should be used for arbitrary event loop
+ // sources in the future)
+ //
+ // this object may be different for the console and GUI applications
+ //
+ // the pointer is not deleted by the caller as normally it points to a
+ // static variable
+ virtual wxFDIOManager *GetFDIOManager();
+#endif // wxUSE_SOCKETS