projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Missing header
[wxWidgets.git]
/
src
/
os2
/
joystick.cpp
diff --git
a/src/os2/joystick.cpp
b/src/os2/joystick.cpp
index 5f2110557e8012622a3e3f5c7be85a9c06f9080c..2117fd31e3f3616ed94b06519cc418aff4b1b254 100644
(file)
--- a/
src/os2/joystick.cpp
+++ b/
src/os2/joystick.cpp
@@
-1,5
+1,5
@@
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
-// Name: joystick.cpp
+// Name:
src/os2/
joystick.cpp
// Purpose: wxJoystick class
// Author: David Webster
// Modified by:
// Purpose: wxJoystick class
// Author: David Webster
// Modified by:
@@
-9,25
+9,24
@@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-//
// For compilers that support precompilation, includes "wx.h".
// For compilers that support precompilation, includes "wx.h".
-//
#include "wx/wxprec.h"
#include "wx/wxprec.h"
-#include "wx/defs.h"
-
#if wxUSE_JOYSTICK
#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
#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
IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject)
// Attributes
@@
-101,7
+100,7
@@
bool wxJoystick::IsOk() const
return false;
}
return false;
}
-int wxJoystick::GetNumberJoysticks()
const
+int wxJoystick::GetNumberJoysticks()
{
// TODO
return 0;
{
// TODO
return 0;
@@
-122,7
+121,7
@@
int wxJoystick::GetProductId() const
wxString wxJoystick::GetProductName() const
{
// TODO
wxString wxJoystick::GetProductName() const
{
// TODO
- return wx
String("")
;
+ return wx
EmptyString
;
}
int wxJoystick::GetXMin() const
}
int wxJoystick::GetXMin() const
@@
-289,4
+288,5
@@
bool wxJoystick::ReleaseCapture()
// TODO
return false;
}
// TODO
return false;
}
+
#endif // wxUSE_JOYSTICK
#endif // wxUSE_JOYSTICK