#include "wx/window.h"
#endif //WX_PRECOMP
+#include "wx/thread.h"
+
#include <linux/joystick.h>
#include <sys/types.h>
#include <sys/stat.h>
jwx_event.SetEventObject(m_catchwin);
if (m_catchwin)
- m_catchwin->AddPendingEvent(jwx_event);
+ m_catchwin->GetEventHandler()->AddPendingEvent(jwx_event);
}
void* wxJoystickThread::Entry()