projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
TRUE not true, FALSE not false
[wxWidgets.git]
/
src
/
msw
/
joystick.cpp
diff --git
a/src/msw/joystick.cpp
b/src/msw/joystick.cpp
index b3c1369e2c67019b0105ba26c26687da0f3679e2..1cfed858425806de013c72b0f8b81676f25ed7e5 100644
(file)
--- a/
src/msw/joystick.cpp
+++ b/
src/msw/joystick.cpp
@@
-57,7
+57,7
@@
IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject)
joysticks, counting from the first
available and upwards.
*/
joysticks, counting from the first
available and upwards.
*/
-wxJoystick::wxJoystick(int joystick
= wxJOYSTICK1
)
+wxJoystick::wxJoystick(int joystick)
{
JOYINFO joyInfo;
int i, maxsticks;
{
JOYINFO joyInfo;
int i, maxsticks;
@@
-306,7
+306,7
@@
wxString wxJoystick::GetProductName() const
{
JOYCAPS joyCaps;
if (joyGetDevCaps(m_joystick, & joyCaps, sizeof(JOYCAPS)) != JOYERR_NOERROR)
{
JOYCAPS joyCaps;
if (joyGetDevCaps(m_joystick, & joyCaps, sizeof(JOYCAPS)) != JOYERR_NOERROR)
- return wx
String("")
;
+ return wx
EmptyString
;
else
return wxString(joyCaps.szPname);
}
else
return wxString(joyCaps.szPname);
}