X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/95bfd958bda8955ac81277c78e5627c926154f39..0a5bb138a71dfc1c706fc0858fb2801500e2c2e8:/wxPython/demo/FileHistory.py diff --git a/wxPython/demo/FileHistory.py b/wxPython/demo/FileHistory.py index 98403b1493..b94b4567eb 100644 --- a/wxPython/demo/FileHistory.py +++ b/wxPython/demo/FileHistory.py @@ -79,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): @@ -139,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:])