X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/899544330f37440c140b72a014c518a911b5b7a4..fcdd53359135f790b85728c4254b97095a56dad8:/src/x11/evtloop.cpp diff --git a/src/x11/evtloop.cpp b/src/x11/evtloop.cpp index 4540e888da..eab9042841 100644 --- a/src/x11/evtloop.cpp +++ b/src/x11/evtloop.cpp @@ -29,16 +29,16 @@ #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" #include "wx/generic/private/timer.h" #if wxUSE_THREADS #include "wx/thread.h" #endif +#include #include #include @@ -190,9 +190,6 @@ bool wxGUIEventLoop::Dispatch() { XEvent event; - // Start off by checking if any of our child processes have finished. - wxCheckForFinishedChildren(); - // TODO allowing for threads, as per e.g. wxMSW // This now waits until either an X event is received, @@ -240,7 +237,7 @@ bool wxGUIEventLoop::Dispatch() #if wxUSE_SOCKETS // handle any pending socket events: - wxSelectDispatcher::DispatchPending(); + wxFDIODispatcher::DispatchPending(); #endif (void) m_impl->ProcessEvent( &event );