// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
-#if defined(__BORLANDC__)
+#ifdef __BORLANDC__
#pragma hdrstop
#endif
#define NO_JOYGETPOSEX
#endif
+#include <wx/window.h>
#include <wx/msw/joystick.h>
IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject)