//---------------------------------------------------------------------------
//we only support HID on OSX (DARWIN), since it requires DARWIN...
-#if wxUSE_JOYSTICK && defined(__DARWIN__)
+#if wxUSE_JOYSTICK && defined(__DARWIN__) && wxUSE_THREADS
//---------------------------------------------------------------------------
// Includes
{
public:
wxHIDJoystick();
- ~wxHIDJoystick();
+ virtual ~wxHIDJoystick();
bool Create(int nWhich);
virtual void BuildCookies(CFArrayRef Array);