X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/299647acac7960652aadb008775429c1f8ea9b8d..a60a5499953215f46062de58c0fe5df7b3a27a60:/wxPython/demo/FileHistory.py?ds=sidebyside diff --git a/wxPython/demo/FileHistory.py b/wxPython/demo/FileHistory.py index 7a0dc4962f..b94b4567eb 100644 --- a/wxPython/demo/FileHistory.py +++ b/wxPython/demo/FileHistory.py @@ -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:])