added missing check for wxUSE_JOYSTICK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -15,6 +15,8 @@
|
|||||||
|
|
||||||
#include <wx/joystick.h>
|
#include <wx/joystick.h>
|
||||||
|
|
||||||
|
#if wxUSE_JOYSTICK
|
||||||
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject)
|
IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject)
|
||||||
|
|
||||||
// Attributes
|
// Attributes
|
||||||
@@ -277,3 +279,6 @@ bool wxJoystick::ReleaseCapture()
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
// wxUSE_JOYSTICK
|
||||||
|
|
||||||
|
@@ -15,6 +15,8 @@
|
|||||||
|
|
||||||
#include <wx/joystick.h>
|
#include <wx/joystick.h>
|
||||||
|
|
||||||
|
#if wxUSE_JOYSTICK
|
||||||
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject)
|
IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject)
|
||||||
|
|
||||||
// Attributes
|
// Attributes
|
||||||
@@ -277,3 +279,6 @@ bool wxJoystick::ReleaseCapture()
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
// wxUSE_JOYSTICK
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user