]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/joystick.h
Removed semicolons from end of DECLARE_DYNAMIC_CLASS() and DECLARE_NO_COPY_CLASS...
[wxWidgets.git] / include / wx / joystick.h
index 370ee935c69698f6eb3347f11774c2d5e04c12dc..7203acb5bb52b24afd966bb2dd43a61695f47566 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef _WX_JOYSTICK_H_BASE_
 #define _WX_JOYSTICK_H_BASE_
 
 #ifndef _WX_JOYSTICK_H_BASE_
 #define _WX_JOYSTICK_H_BASE_
 
+#if wxUSE_JOYSTICK
+
 #if defined(__WXMSW__)
 #include "wx/msw/joystick.h"
 #elif defined(__WXMOTIF__)
 #if defined(__WXMSW__)
 #include "wx/msw/joystick.h"
 #elif defined(__WXMOTIF__)
@@ -15,5 +17,7 @@
 #include "wx/stubs/joystick.h"
 #endif
 
 #include "wx/stubs/joystick.h"
 #endif
 
+#endif // wxUSE_JOYSTICK
+
 #endif
     // _WX_JOYSTICK_H_BASE_
 #endif
     // _WX_JOYSTICK_H_BASE_