X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..76fa9e023cdc89c86f9d69c48410c29a69e49827:/src/palmos/joystick.cpp diff --git a/src/palmos/joystick.cpp b/src/palmos/joystick.cpp index cfceba1191..01a44cd3e3 100644 --- a/src/palmos/joystick.cpp +++ b/src/palmos/joystick.cpp @@ -12,13 +12,14 @@ // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" -#ifdef __BORLANDC__ -#pragma hdrstop -#endif +#if wxUSE_JOYSTICK + +#include "wx/joystick.h" -#include "wx/string.h" -#include "wx/window.h" -#include "wx/palmos/joystick.h" +#ifndef WX_PRECOMP + #include "wx/string.h" + #include "wx/window.h" +#endif IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject) @@ -27,7 +28,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject) wxJoystick::wxJoystick(int joystick) { -}; +} wxPoint wxJoystick::GetPosition() const { @@ -245,3 +246,4 @@ bool wxJoystick::ReleaseCapture() return false; } +#endif // wxUSE_JOYSTICK