]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/MultiSash.py
Fix "warning: operation on 'y' may be undefined".
[wxWidgets.git] / wxPython / demo / MultiSash.py
index d978b0395e07b4a07d1587e9c375b48bff806b9d..6af173b5ac4ced1f96799b03a8ff72f8d96d4951 100644 (file)
@@ -53,7 +53,7 @@ class TestWindow(stc.StyledTextCtrl):
             TestWindow.doc = self.GetDocPointer()
             
 
             TestWindow.doc = self.GetDocPointer()
             
 
-    def SutdownDemo(self):
+    def ShutDownDemo(self):
         # Reset doc reference in case this demo is run again
         TestWindow.doc = None
 
         # Reset doc reference in case this demo is run again
         TestWindow.doc = None
 
@@ -90,5 +90,5 @@ when desired.
 if __name__ == '__main__':
     import sys,os
     import run
 if __name__ == '__main__':
     import sys,os
     import run
-    run.main(['', os.path.basename(sys.argv[0])])
+    run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])