X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/88ac883a0d005437c97a60d8195bd5e4719b1154..c13cace12594b37706e9520a6fbd602c949f8127:/src/gtk/joystick.cpp diff --git a/src/gtk/joystick.cpp b/src/gtk/joystick.cpp index 0b7cf394f4..372046b52f 100644 --- a/src/gtk/joystick.cpp +++ b/src/gtk/joystick.cpp @@ -12,6 +12,7 @@ #ifdef __GNUG__ #pragma implementation "joystick.h" #endif +#if wxUSE_JOYSTICK #include #include @@ -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