X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cdccdfabb29bd51aded9aac141e1f7bbd6c85443..0286d08d1453506f9ff9a830d58b3b35817d0b14:/src/mac/corefoundation/hidjoystick.cpp diff --git a/src/mac/corefoundation/hidjoystick.cpp b/src/mac/corefoundation/hidjoystick.cpp index d9be35e342..12d5b86ba9 100644 --- a/src/mac/corefoundation/hidjoystick.cpp +++ b/src/mac/corefoundation/hidjoystick.cpp @@ -25,7 +25,7 @@ //--------------------------------------------------------------------------- //we only support HID on OSX (DARWIN), since it requires DARWIN... -#if wxUSE_JOYSTICK && defined(__DARWIN__) +#if wxUSE_JOYSTICK && defined(__DARWIN__) && wxUSE_THREADS //--------------------------------------------------------------------------- // Includes @@ -75,7 +75,7 @@ class wxHIDJoystick : public wxHIDDevice { public: wxHIDJoystick(); - ~wxHIDJoystick(); + virtual ~wxHIDJoystick(); bool Create(int nWhich); virtual void BuildCookies(CFArrayRef Array);