def OnRightClick(self, evt):
- self.PopupMenu(self.menu, evt.GetPosition())
+ self.PopupMenu(self.menu)
def OnFileOpenDialog(self, evt):
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:])