/////////////////////////////////////////////////////////////////////////////
-// Name: joystick.cpp
+// Name: src/os2/joystick.cpp
// Purpose: wxJoystick class
// Author: David Webster
// Modified by:
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-//
// For compilers that support precompilation, includes "wx.h".
-//
#include "wx/wxprec.h"
-#include "wx/defs.h"
-
#if wxUSE_JOYSTICK
-#include "wx/string.h"
+#include "wx/joystick.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/string.h"
+ #include "wx/window.h"
+#endif
+
#define INCL_PM
#define INCL_DOS
#include "wx/os2/private.h"
#define NO_JOYGETPOSEX
-#include <wx/window.h>
-#include <wx/joystick.h>
-
IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject)
// Attributes
return false;
}
-int wxJoystick::GetNumberJoysticks() const
+int wxJoystick::GetNumberJoysticks()
{
// TODO
return 0;
wxString wxJoystick::GetProductName() const
{
// TODO
- return wxString("");
+ return wxEmptyString;
}
int wxJoystick::GetXMin() const
// TODO
return false;
}
+
#endif // wxUSE_JOYSTICK