def OnSubMenuSub_about_menuMenu(self, event): dlg = About(self) try: if dlg.ShowModal() == wx.ID_OK: pass finally: dlg.Destroy()
def OnAbout(self, event): ''' :显示软件的功能等信息 :param event:事件值 ''' dlg = About(self) dlg.ShowModal() #显示“关于”窗口 dlg.Destroy()