- // 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_CONSOLE_EVENTLOOP
+ // Return a non-NULL pointer to the object responsible for managing the
+ // event loop sources in this kind of application.
+ virtual wxEventLoopSourcesManagerBase* GetEventLoopSourcesManager();
+#endif // wxUSE_CONSOLE_EVENTLOOP