/////////////////////////////////////////////////////////////////////////////
-// Name: joystick.cpp
+// Name: src/msw/joystick.cpp
// Purpose: wxJoystick class
// Author: Julian Smart
// Modified by:
#pragma hdrstop
#endif
+#if wxUSE_JOYSTICK
+
+#include "wx/joystick.h"
#include "wx/string.h"
#include "wx/window.h"
#include "wx/msw/private.h"
#include "wx/window.h"
#include "wx/msw/registry.h"
-#include "wx/msw/joystick.h"
#include <regstr.h>
return (res == JOYERR_NOERROR);
}
+#endif // wxUSE_JOYSTICK