diff --git a/include/wx/unix/apptbase.h b/include/wx/unix/apptbase.h index ff41981407..5ce97d6837 100644 --- a/include/wx/unix/apptbase.h +++ b/include/wx/unix/apptbase.h @@ -48,11 +48,11 @@ public: virtual wxFDIOManager *GetFDIOManager(); #endif // wxUSE_SOCKETS -#if wxUSE_EVENTLOOP_SOURCE +#if wxUSE_CONSOLE_EVENTLOOP && wxUSE_EVENTLOOP_SOURCE // 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 +#endif // wxUSE_CONSOLE_EVENTLOOP && wxUSE_CONSOLE_EVENTLOOP protected: // Wait for the process termination by running the given event loop until