Some more tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -13,9 +13,13 @@ class JoystickTestPanel(wxPanel):
|
||||
|
||||
MakeJoystickTestPanel( self, true )
|
||||
|
||||
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")
|
||||
|
||||
|
||||
def UpdateFields(self):
|
||||
|
Reference in New Issue
Block a user