]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/FileHistory.py
Register the test under the name displayed by "./test -l"
[wxWidgets.git] / wxPython / demo / FileHistory.py
index 7a0dc4962f681fdab28430ee62dfab143f7f0319..b94b4567ebc56ef151c5f1f92e821273dc889668 100644 (file)
@@ -1,7 +1,3 @@
-# 11/17/2003 - Jeff Grimmett (grimmtooth@softhome.net)
-#
-# o Updated for wx namespace
-# 
 
 import  os
 import  wx
@@ -83,7 +79,7 @@ class TestPanel(wx.Panel):
 
 
     def OnRightClick(self, evt):
-        self.PopupMenu(self.menu, evt.GetPosition())
+        self.PopupMenu(self.menu)
 
 
     def OnFileOpenDialog(self, evt):
@@ -143,5 +139,5 @@ associated menu.
 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:])