projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Committed Stefan's temporary fix for crashing in Mac Classic.
[wxWidgets.git]
/
src
/
mac
/
carbon
/
joystick.cpp
diff --git
a/src/mac/carbon/joystick.cpp
b/src/mac/carbon/joystick.cpp
index 6677277f48be151868fcbe292166c92cb0914462..bfe4ee3533a3be1eb959cfab44721e0db9549c52 100644
(file)
--- a/
src/mac/carbon/joystick.cpp
+++ b/
src/mac/carbon/joystick.cpp
@@
-13,7
+13,11
@@
#pragma implementation "joystick.h"
#endif
-#include <wx/joystick.h>
+#include "wx/setup.h"
+
+#include "wx/joystick.h"
+
+#if wxUSE_JOYSTICK
IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject)
@@
-277,3
+281,6
@@
bool wxJoystick::ReleaseCapture()
return FALSE;
}
+#endif
+ // wxUSE_JOYSTICK
+