X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0e320a79f187558effb04d92020b470372bbe456..9fd9e47a93dfcdd99c2722e288a0f28a51ce6f5f:/src/os2/joystick.cpp?ds=sidebyside diff --git a/src/os2/joystick.cpp b/src/os2/joystick.cpp index 6677277f48..e40b19826e 100644 --- a/src/os2/joystick.cpp +++ b/src/os2/joystick.cpp @@ -1,18 +1,26 @@ ///////////////////////////////////////////////////////////////////////////// // Name: joystick.cpp // Purpose: wxJoystick class -// Author: AUTHOR +// Author: David Webster // Modified by: -// Created: ??/??/98 +// Created: 10/09/99 // RCS-ID: $Id$ -// Copyright: (c) AUTHOR -// Licence: wxWindows licence +// Copyright: (c) David Webster +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "joystick.h" -#endif +#include "wx/defs.h" +#if wxUSE_JOYSTICK + +#include "wx/string.h" +#define INCL_PM +#define INCL_DOS +#include "wx/os2/private.h" + +#define NO_JOYGETPOSEX + +#include #include IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject) @@ -276,4 +284,5 @@ bool wxJoystick::ReleaseCapture() // TODO return FALSE; } +#endif // wxUSE_JOYSTICK