]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/joytest/joytest.cpp
compilation fix for recent commit
[wxWidgets.git] / samples / joytest / joytest.cpp
index 5fe4889958db32518ad4894c89d9744b7e2af64b..a0737939281543fe2b38ade48e3cb38478b18a33 100644 (file)
 #include "wx/wx.h"
 #endif
 
 #include "wx/wx.h"
 #endif
 
-#include <wx/wave.h>
-#include <wx/joystick.h>
+#if !wxUSE_JOYSTICK
+#error You must set wxUSE_JOYSTICK to 1 in setup.h!
+#endif
+
+#include "wx/wave.h"
+#include "wx/joystick.h"
 
 #include "joytest.h"
 
 
 #include "joytest.h"