#ifndef WX_PRECOMP
#include "wx/event.h"
+ #include "wx/app.h"
+ #include "wx/window.h"
#endif //WX_PRECOMP
#include "wx/evtloop.h"
-#include "wx/app.h"
-#include "wx/window.h"
#ifdef __VMS__
#pragma message disable nosimpint
#include "wx/unix/private.h"
#include "wx/motif/private.h"
+#ifdef HAVE_SYS_SELECT_H
+# include <sys/select.h>
+#endif
+
static bool CheckForKeyUp(XEvent* event);
static bool CheckForKeyDown(XEvent* event);
static bool CheckForAccelerator(XEvent* event);