]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/joystick.cpp
Made dnd reentrent safe as per stable tree.
[wxWidgets.git] / src / gtk / joystick.cpp
index 0b7cf394f4eafd6f81dfc32edb851910d74d4342..372046b52f2b21e9ed8f8eadbb865b2b792acec1 100644 (file)
@@ -12,6 +12,7 @@
 #ifdef __GNUG__
 #pragma implementation "joystick.h"
 #endif
+#if wxUSE_JOYSTICK
 
 #include <linux/joystick.h>
 #include <sys/types.h>
@@ -201,7 +202,7 @@ int wxJoystick::GetProductId(void) const
 
 wxString wxJoystick::GetProductName(void) const
 {
-  return "";
+  return wxT("");
 }
 
 int wxJoystick::GetXMin(void) const
@@ -354,4 +355,5 @@ bool wxJoystick::ReleaseCapture(void)
   m_polling = 0;
   return TRUE;
 }
+#endif  // wxUSE_JOYSTICK