X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e9576ca53db96b462ed4c0b4bdf47d64c40203e4..239c2e9674c8c6b9f0fd3d6fb94e2381691651b5:/src/mac/carbon/joystick.cpp diff --git a/src/mac/carbon/joystick.cpp b/src/mac/carbon/joystick.cpp index 6677277f48..bfe4ee3533 100644 --- a/src/mac/carbon/joystick.cpp +++ b/src/mac/carbon/joystick.cpp @@ -13,7 +13,11 @@ #pragma implementation "joystick.h" #endif -#include +#include "wx/setup.h" + +#include "wx/joystick.h" + +#if wxUSE_JOYSTICK IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject) @@ -277,3 +281,6 @@ bool wxJoystick::ReleaseCapture() return FALSE; } +#endif + // wxUSE_JOYSTICK +