def openFile(self, fileName): if fileName in self.openFiles.keys(): return self.openFiles[fileName] n = MDIChild.create(self, fileName) n.Show() self.last = n self.openFiles[fileName] = n return n
def OnMenu1items0Menu(self, event): MDIChild.create(self).Show(true)