/////////////////////////////////////////////////////////////////////////////
// Name: joystick.cpp
// Purpose: wxJoystick class
-// Author: AUTHOR
+// Author: Stefan Csomor
// Modified by:
-// Created: ??/??/98
+// Created: 1998-01-01
// RCS-ID: $Id$
-// Copyright: (c) AUTHOR
-// Licence: wxWindows licence
+// Copyright: (c) Stefan Csomor
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "joystick.h"
#endif
-#include <wx/joystick.h>
+#include "wx/wxprec.h"
+
+#if wxUSE_JOYSTICK
+
+#if !defined (__WXMAC_OSX__)
+
+#include "wx/joystick.h"
IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject)
wxString wxJoystick::GetProductName() const
{
// TODO
- return wxString("");
+ return wxString(wxT(""));
}
int wxJoystick::GetXMin() const
return FALSE;
}
+#endif
+ // !OSX
+#endif
+ // wxUSE_JOYSTICK
+