// 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