#include "wx/app.h"
#include "wx/window.h"
#include "wx/timer.h"
+ #include "wx/module.h"
#endif
#include "wx/tooltip.h"
-#include "wx/module.h"
#include "wx/unix/private.h"
#include "wx/x11/private.h"
#include "X11/Xlib.h"
#include <sys/time.h>
#include <unistd.h>
+#ifdef HAVE_SYS_SELECT_H
+# include <sys/select.h>
+#endif
+
#if wxUSE_SOCKETS
// ----------------------------------------------------------------------------
// wxSocketTable
wxSocketTable(): wxHashTable(wxKEY_INTEGER)
{
}
- ~wxSocketTable()
+ virtual ~wxSocketTable()
{
WX_CLEAR_HASH_TABLE(*this)
}
{
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,