X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/95bfd958bda8955ac81277c78e5627c926154f39..6a6e2822455ac3275dad20d5a0b474e4eb4b2582:/wxPython/demo/FileHistory.py?ds=sidebyside 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:])