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
This commit is contained in:
Vadim Zeitlin 2008-10-16 12:33:05 +00:00
parent 0bde39ffac
commit 04021d6fac

View File

@ -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()