return true from HasPending() if we have at least 1 event, not exactly 1 (closes #10397)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -194,7 +194,7 @@ wxEpollDispatcher::DoPoll(epoll_event *events, int numEvents, int timeout) const
|
||||
bool wxEpollDispatcher::HasPending() const
|
||||
{
|
||||
epoll_event event;
|
||||
return DoPoll(&event, 1, 0) == 1;
|
||||
return DoPoll(&event, 1, 0) >= 1;
|
||||
}
|
||||
|
||||
int wxEpollDispatcher::Dispatch(int timeout)
|
||||
|
Reference in New Issue
Block a user