]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxJoystick.py
reSWIGged
[wxWidgets.git] / wxPython / demo / wxJoystick.py
index 2e13d8101034b1f856a548050d0c45cbc4eef11c..2c4113adf0d5c354925fa6a681adcf6e4bc85a53 100644 (file)
@@ -7,11 +7,11 @@ from joystick_wdr import *
 
 class JoystickTestPanel(wxPanel):
     def __init__(self, parent, id,
-        pos = wxPyDefaultPosition, size = wxPyDefaultSize,
+        pos = wxDefaultPosition, size = wxDefaultSize,
         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])])
+