Change wxWakeUpPipe to be a wxEventLoopSourceHandler.
No real changes but use wxEventLoopSource::AddSourceForFD() instead of wxFDIODispatcher::RegisterFD() for this pipe because this is the preferred way and because it will allow reusing this class for wxExecute() purposes later. See #10258. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -17,8 +17,8 @@
|
||||
// wxConsoleEventLoop
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
class wxEventLoopSource;
|
||||
class wxFDIODispatcher;
|
||||
class wxUnixEventLoopSource;
|
||||
class wxWakeUpPipeMT;
|
||||
|
||||
class WXDLLIMPEXP_BASE wxConsoleEventLoop
|
||||
@@ -49,6 +49,9 @@ private:
|
||||
// the event loop in the main thread it writes to this pipe
|
||||
wxWakeUpPipeMT *m_wakeupPipe;
|
||||
|
||||
// the event loop source used to monitor this pipe
|
||||
wxEventLoopSource* m_wakeupSource;
|
||||
|
||||
// either wxSelectDispatcher or wxEpollDispatcher
|
||||
wxFDIODispatcher *m_dispatcher;
|
||||
|
||||
|
Reference in New Issue
Block a user