mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-07 20:40:11 +01:00
Destroy the stick when done
This commit is contained in:
@@ -953,6 +953,7 @@ class JoystickDemoPanel(wx.Panel):
|
||||
def ShutdownDemo(self):
|
||||
if self.stick:
|
||||
self.stick.ReleaseCapture()
|
||||
self.stick.Destroy()
|
||||
self.stick = None
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user