]> git.saurik.com Git - wxWidgets.git/commitdiff
added missing check for wxUSE_JOYSTICK
authorGilles Depeyrot <gilles_depeyrot@mac.com>
Thu, 24 May 2001 16:07:47 +0000 (16:07 +0000)
committerGilles Depeyrot <gilles_depeyrot@mac.com>
Thu, 24 May 2001 16:07:47 +0000 (16:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/joystick.cpp
src/mac/joystick.cpp

index 6677277f48be151868fcbe292166c92cb0914462..49b1e38e9438afd2db824faaf65e67d453dd7249 100644 (file)
@@ -15,6 +15,8 @@
 
 #include <wx/joystick.h>
 
+#if wxUSE_JOYSTICK
+
 IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject)
 
 // Attributes
@@ -277,3 +279,6 @@ bool wxJoystick::ReleaseCapture()
     return FALSE;
 }
 
+#endif
+       // wxUSE_JOYSTICK
+
index 6677277f48be151868fcbe292166c92cb0914462..49b1e38e9438afd2db824faaf65e67d453dd7249 100644 (file)
@@ -15,6 +15,8 @@
 
 #include <wx/joystick.h>
 
+#if wxUSE_JOYSTICK
+
 IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject)
 
 // Attributes
@@ -277,3 +279,6 @@ bool wxJoystick::ReleaseCapture()
     return FALSE;
 }
 
+#endif
+       // wxUSE_JOYSTICK
+