X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b46b1d59d6f69ad80dcf5955375578a6504d100a..7da37f2c5d7addc655e3c6bcd29a8877c360b35b:/include/wx/private/selectdispatcher.h?ds=sidebyside diff --git a/include/wx/private/selectdispatcher.h b/include/wx/private/selectdispatcher.h index cd86e15cd8..b444c23d8c 100644 --- a/include/wx/private/selectdispatcher.h +++ b/include/wx/private/selectdispatcher.h @@ -13,6 +13,8 @@ #include "wx/defs.h" +#include + #include "wx/private/fdiodispatcher.h" // helper class storing all the select() fd sets @@ -69,7 +71,7 @@ private: static Callback ms_handlers[Max]; }; -class WXDLLIMPEXP_BASE wxSelectDispatcher : public wxFDIODispatcher +class WXDLLIMPEXP_BASE wxSelectDispatcher : public wxMappedFDIODispatcher { public: // returns the unique instance of this class, the pointer shouldn't be @@ -84,7 +86,7 @@ public: // implement pure virtual methods of the base class virtual bool RegisterFD(int fd, wxFDIOHandler *handler, int flags = wxFDIO_ALL); virtual bool ModifyFD(int fd, wxFDIOHandler *handler, int flags = wxFDIO_ALL); - virtual wxFDIOHandler *UnregisterFD(int fd, int flags = wxFDIO_ALL); + virtual bool UnregisterFD(int fd, int flags = wxFDIO_ALL); virtual void RunLoop(int timeout = TIMEOUT_INFINITE); protected: