def OnEditList(self, evt): exculset_id = fetch.exculset_id() dlg=DlgExculActivityListEditor.create(None) try: dlg.displayData(exculset_id) if dlg.ShowModal() == wx.OK: self.displayData() finally: dlg.Destroy()
def displayData(self): return #rint'panel_excul_roster > displayData' txt = "Students / Activity: > %d Semester:%d Yr:%d Day:%d" % (gVar.school_id, gVar.semester, gVar.schYr, gVar.dayNo) self.label_heading.SetLabelText(txt) self.exculset_id = fetch.exculset_id() self.panel_middle.displayData(self.exculset_id)