X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..a2d3a3d1d38ef64050ddcd9b2754c855167aad1f:/src/mac/carbon/joystick.cpp diff --git a/src/mac/carbon/joystick.cpp b/src/mac/carbon/joystick.cpp index 156b9b2657..8136d9e59b 100644 --- a/src/mac/carbon/joystick.cpp +++ b/src/mac/carbon/joystick.cpp @@ -9,16 +9,16 @@ // 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 +#include "wx/joystick.h" + IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject) // Attributes