- self.stick = wxJoystick()
- self.stick.SetCapture(self)
- EVT_JOYSTICK_EVENTS(self, self.OnJoystick)
+ try:
+ self.stick = wxJoystick()
+ self.stick.SetCapture(self)
+ EVT_JOYSTICK_EVENTS(self, self.OnJoystick)
+ self.UpdateFields()
+ except NotImplementedError, v:
+ wxMessageBox(str(v), "Exception Message")