]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/joystick.cpp
Fixed bug in FlexGridSizer mods that prevented them from ever shrinking.
[wxWidgets.git] / src / os2 / joystick.cpp
index 73e82b549b76ab4d4268924a5e2b7c5989bad4fe..e40b19826e9d8de14392cc01e45390f5bd4f5d4e 100644 (file)
@@ -9,6 +9,10 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
+#include "wx/defs.h"
+
+#if wxUSE_JOYSTICK
+
 #include "wx/string.h"
 #define INCL_PM
 #define INCL_DOS
@@ -280,4 +284,5 @@ bool wxJoystick::ReleaseCapture()
     // TODO
     return FALSE;
 }
+#endif  // wxUSE_JOYSTICK