]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/joystick.cpp
removed useless ; to allow smart preprocessing under Mac OS X
[wxWidgets.git] / src / mac / carbon / joystick.cpp
index 6677277f48be151868fcbe292166c92cb0914462..2aecad336df3734e09d441d8a4d691fd98933376 100644 (file)
 #pragma implementation "joystick.h"
 #endif
 
+#include <wx/setup.h>
+
 #include <wx/joystick.h>
 
+#if wxUSE_JOYSTICK
+
 IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject)
 
 // Attributes
@@ -277,3 +281,6 @@ bool wxJoystick::ReleaseCapture()
     return FALSE;
 }
 
+#endif
+       // wxUSE_JOYSTICK
+