X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..e822273ae06f802550bc2627ffaf45d14f773721:/src/mac/carbon/joystick.cpp?ds=sidebyside diff --git a/src/mac/carbon/joystick.cpp b/src/mac/carbon/joystick.cpp index 7e38a7e75c..83ef3bf68d 100644 --- a/src/mac/carbon/joystick.cpp +++ b/src/mac/carbon/joystick.cpp @@ -6,19 +6,21 @@ // Created: 1998-01-01 // RCS-ID: $Id$ // Copyright: (c) Stefan Csomor -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "joystick.h" #endif -#include "wx/setup.h" - -#include "wx/joystick.h" +#include "wx/wxprec.h" #if wxUSE_JOYSTICK +#if !defined (__WXMAC_OSX__) + +#include "wx/joystick.h" + IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject) // Attributes @@ -281,6 +283,8 @@ bool wxJoystick::ReleaseCapture() return FALSE; } +#endif + // !OSX #endif // wxUSE_JOYSTICK