]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/misc2.i
Fixed a bunch of leaking references in how the callbacks deal with
[wxWidgets.git] / wxPython / src / misc2.i
index fe7a1bfb50b965cd1d82794ad639e011abcc0d51..97ba79ccd99f42c22667640a6ddb9d2ca593521e 100644 (file)
@@ -670,6 +670,7 @@ long wxExecute(const wxString& command,
 
 //----------------------------------------------------------------------
 
+#ifdef __WXMSW__
 class wxJoystick {
 public:
     wxJoystick(int joystick = wxJOYSTICK1);
@@ -719,6 +720,7 @@ public:
     bool SetCapture(wxWindow* win, int pollingFreq = 0);
     bool ReleaseCapture();
 };
+#endif
 
 //----------------------------------------------------------------------
 //----------------------------------------------------------------------