]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/joystick.cpp
don't define min/max macros in windows.h (closes 1052256)
[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