X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/64b4a35954c4cd98a63a9f3d9f7e17ef0c15f30c..39bc0168c3eb5809468ae677999902b3478494a0:/include/wx/unix/private/wakeuppipe.h?ds=sidebyside diff --git a/include/wx/unix/private/wakeuppipe.h b/include/wx/unix/private/wakeuppipe.h index b2dda1635c..df90d52025 100644 --- a/include/wx/unix/private/wakeuppipe.h +++ b/include/wx/unix/private/wakeuppipe.h @@ -11,9 +11,8 @@ #ifndef _WX_UNIX_PRIVATE_WAKEUPPIPE_H_ #define _WX_UNIX_PRIVATE_WAKEUPPIPE_H_ -#include "wx/private/fdiohandler.h" - #include "wx/unix/pipe.h" +#include "wx/evtloopsrc.h" // ---------------------------------------------------------------------------- // wxWakeUpPipe: allows to wake up the event loop by writing to it @@ -22,7 +21,7 @@ // This class is not MT-safe, see wxWakeUpPipeMT below for a wake up pipe // usable from other threads. -class wxWakeUpPipe : public wxFDIOHandler +class wxWakeUpPipe : public wxEventLoopSourceHandler { public: // Create and initialize the pipe. @@ -45,7 +44,7 @@ public: int GetReadFd() { return m_pipe[wxPipe::Read]; } - // implement wxFDIOHandler pure virtual methods + // Implement wxEventLoopSourceHandler pure virtual methods virtual void OnReadWaiting(); virtual void OnWriteWaiting() { } virtual void OnExceptionWaiting() { }