X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/427ff66291af2d8dd34ff5ee68c81436997144a1..d35ad26eee38a8d71efde5a6e7f7f28f4b7df1bd:/src/mac/carbon/joystick.cpp?ds=sidebyside diff --git a/src/mac/carbon/joystick.cpp b/src/mac/carbon/joystick.cpp index 156b9b2657..c56cf2001a 100644 --- a/src/mac/carbon/joystick.cpp +++ b/src/mac/carbon/joystick.cpp @@ -9,15 +9,13 @@ // 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) @@ -92,7 +90,7 @@ bool wxJoystick::IsOk() const return FALSE; } -int wxJoystick::GetNumberJoysticks() const +int wxJoystick::GetNumberJoysticks() { // TODO return 0; @@ -281,6 +279,8 @@ bool wxJoystick::ReleaseCapture() return FALSE; } +#endif + // !OSX #endif // wxUSE_JOYSTICK