Build fix for wxUSE_CONSOLE_EVENTLOOP==0 under Unix

Don't declare GetEventLoopSourcesManager() in Unix wxAppTraits if
console event loops are not used.

See https://github.com/wxWidgets/wxWidgets/pull/953
This commit is contained in:
Vadim Zeitlin
2018-10-10 19:06:11 +02:00
parent e9ecc6728f
commit b0c025e9fd

View File

@@ -48,11 +48,11 @@ public:
virtual wxFDIOManager *GetFDIOManager(); virtual wxFDIOManager *GetFDIOManager();
#endif // wxUSE_SOCKETS #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 // Return a non-NULL pointer to the object responsible for managing the
// event loop sources in this kind of application. // event loop sources in this kind of application.
virtual wxEventLoopSourcesManagerBase* GetEventLoopSourcesManager(); virtual wxEventLoopSourcesManagerBase* GetEventLoopSourcesManager();
#endif // wxUSE_CONSOLE_EVENTLOOP #endif // wxUSE_CONSOLE_EVENTLOOP && wxUSE_CONSOLE_EVENTLOOP
protected: protected:
// Wait for the process termination by running the given event loop until // Wait for the process termination by running the given event loop until