X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3d1a4878f36ba4b5f66c2ccfd2cb27a9dc528b6f..df71db0ede2a7e2818c140c651c048c30a838101:/src/mac/carbon/joystick.cpp?ds=sidebyside diff --git a/src/mac/carbon/joystick.cpp b/src/mac/carbon/joystick.cpp index 8136d9e59b..83ef3bf68d 100644 --- a/src/mac/carbon/joystick.cpp +++ b/src/mac/carbon/joystick.cpp @@ -17,6 +17,8 @@ #if wxUSE_JOYSTICK +#if !defined (__WXMAC_OSX__) + #include "wx/joystick.h" IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject) @@ -281,6 +283,8 @@ bool wxJoystick::ReleaseCapture() return FALSE; } +#endif + // !OSX #endif // wxUSE_JOYSTICK