]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/corefoundation/hidjoystick.cpp
corrected GetKeyInfo() (bug 1815516)
[wxWidgets.git] / src / mac / corefoundation / hidjoystick.cpp
index d9be35e3428b98f01d40320fa156a65648e63824..12d5b86ba92b0c8c80b7b672232d23f508db2282 100644 (file)
@@ -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);