]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/core/hidjoystick.cpp
Compilation fixes for wx{X11,GTK1,Motif} after making ref data non copyable.
[wxWidgets.git] / src / osx / core / hidjoystick.cpp
index d21e47cc4fa357b0b012f131fd7926cd1075db57..3bd17b1f3397a67f322463d414a55bfc334313d5 100644 (file)
@@ -157,8 +157,7 @@ wxJoystick::wxJoystick(int joystick)
     }
     else
     {
-        delete m_hid;
-        m_hid = NULL;
+        wxDELETE(m_hid);
     }
 }