]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxJoystick.py
reSWIGged
[wxWidgets.git] / wxPython / demo / wxJoystick.py
index 1c4882f40e439590bda85ae7bb8947f9cf8509c0..2c4113adf0d5c354925fa6a681adcf6e4bc85a53 100644 (file)
@@ -7,7 +7,7 @@ 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)
 
@@ -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])])
+