#ifndef WX_PRECOMP
#include "wx/log.h"
#include "wx/event.h" //joystick wxEvents
+ #include "wx/window.h" //for wxWindow to "capture" joystick
#endif
#include "wx/joystick.h" //...
#include "wx/thread.h" //wxThread for polling thread/ wxCriticalSection
-#include "wx/window.h" //for wxWindow to "capture" joystick
//private headers
#include "wx/mac/corefoundation/hid.h" //private mac hid stuff