fixes for the case when only epoll() based wxFDIODispatcher is available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
|
||||
#include "wx/thread.h"
|
||||
#include "wx/generic/private/timer.h"
|
||||
#include "wx/private/selectdispatcher.h"
|
||||
#include "wx/private/fdiodispatcher.h"
|
||||
#include "wx/dfb/private.h"
|
||||
#include "wx/nonownedwnd.h"
|
||||
|
||||
@@ -141,7 +141,7 @@ void wxGUIEventLoop::OnNextIteration()
|
||||
|
||||
#if wxUSE_SOCKETS
|
||||
// handle any pending socket events:
|
||||
wxSelectDispatcher::DispatchPending();
|
||||
wxFDIODispatcher::DispatchPending();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@@ -29,7 +29,7 @@
|
||||
#include "wx/module.h"
|
||||
#endif
|
||||
|
||||
#include "wx/private/selectdispatcher.h"
|
||||
#include "wx/private/fdiodispatcher.h"
|
||||
#include "wx/unix/private.h"
|
||||
#include "wx/x11/private.h"
|
||||
#include "X11/Xlib.h"
|
||||
@@ -240,7 +240,7 @@ bool wxGUIEventLoop::Dispatch()
|
||||
|
||||
#if wxUSE_SOCKETS
|
||||
// handle any pending socket events:
|
||||
wxSelectDispatcher::DispatchPending();
|
||||
wxFDIODispatcher::DispatchPending();
|
||||
#endif
|
||||
|
||||
(void) m_impl->ProcessEvent( &event );
|
||||
|
Reference in New Issue
Block a user