X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/25832b3f2bd566e5b68f066d97e0e79d2bbbd17f..61d457caae3e33efe8e0953f79c4a94e366b22d7:/wxPython/demo/wxJoystick.py diff --git a/wxPython/demo/wxJoystick.py b/wxPython/demo/wxJoystick.py index 2e13d81010..69555ee225 100644 --- a/wxPython/demo/wxJoystick.py +++ b/wxPython/demo/wxJoystick.py @@ -11,7 +11,7 @@ class JoystickTestPanel(wxPanel): style = wxTAB_TRAVERSAL ): wxPanel.__init__(self, parent, id, pos, size, style) - MakeJoystickTestPanel( self, true ) + MakeJoystickTestPanel( self, True ) try: self.stick = wxJoystick() @@ -195,3 +195,12 @@ def runTest(frame, nb, log): overview = """\ """ + + + + +if __name__ == '__main__': + import sys,os + import run + run.main(['', os.path.basename(sys.argv[0])]) +