From: Vadim Zeitlin Date: Thu, 16 Oct 2008 12:33:05 +0000 (+0000) Subject: made Dispatch() return bool indicating whether we processed any events inside it... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/04021d6facae8732f5914298cb37c431fa32599d?ds=inline made Dispatch() return bool indicating whether we processed any events inside it or if the timeout expired git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/unix/private/epolldispatcher.h b/include/wx/unix/private/epolldispatcher.h index 39bd3a27e5..d689ea243c 100644 --- a/include/wx/unix/private/epolldispatcher.h +++ b/include/wx/unix/private/epolldispatcher.h @@ -32,7 +32,7 @@ public: virtual bool RegisterFD(int fd, wxFDIOHandler* handler, int flags = wxFDIO_ALL); virtual bool ModifyFD(int fd, wxFDIOHandler* handler, int flags = wxFDIO_ALL); virtual bool UnregisterFD(int fd); - virtual void Dispatch(int timeout = TIMEOUT_INFINITE); + virtual bool Dispatch(int timeout = TIMEOUT_INFINITE); private: // ctor is private, use Create()