def __on_cal(self, _event): self.dlgCal = DialogAutoCal(self, self.settings.calFreq, self.__auto_cal) self.dlgCal.ShowModal()