git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36294
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
/////////////////////////////////////////////////////////////////////////////
-// 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