X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/db101bd35296e100d490d3c033c0fdee32747e85..85a0a12a9c6fe2885c0de8801e91a2f6d6e4119a:/src/palmos/joystick.cpp diff --git a/src/palmos/joystick.cpp b/src/palmos/joystick.cpp index 8295c07fa7..01a44cd3e3 100644 --- a/src/palmos/joystick.cpp +++ b/src/palmos/joystick.cpp @@ -9,20 +9,17 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "joystick.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" -#ifdef __BORLANDC__ -#pragma hdrstop -#endif +#if wxUSE_JOYSTICK -#include "wx/string.h" -#include "wx/window.h" -#include "wx/palmos/joystick.h" +#include "wx/joystick.h" + +#ifndef WX_PRECOMP + #include "wx/string.h" + #include "wx/window.h" +#endif IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject) @@ -31,7 +28,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject) wxJoystick::wxJoystick(int joystick) { -}; +} wxPoint wxJoystick::GetPosition() const { @@ -249,3 +246,4 @@ bool wxJoystick::ReleaseCapture() return false; } +#endif // wxUSE_JOYSTICK