// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
-#pragma implementation "joystick.h"
-#endif
+#include "wx/wxprec.h"
-#include "wx/setup.h"
+#if wxUSE_JOYSTICK
-#include "wx/joystick.h"
+#if !defined (__WXMAC_OSX__)
-#if wxUSE_JOYSTICK
+#include "wx/joystick.h"
IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject)
return FALSE;
}
-int wxJoystick::GetNumberJoysticks() const
+int wxJoystick::GetNumberJoysticks()
{
// TODO
return 0;
return FALSE;
}
+#endif
+ // !OSX
#endif
// wxUSE_JOYSTICK