def updateRecordModel(self, evt):
global recordStatus
if recordStatus == "?":
dlg = wx.MessageDialog(self, u"1. ????????????????????;\n2. ???????????????????????;\n3. ??????????????", u"?????????", wx.YES_NO | wx.ICON_QUESTION)
if dlg.ShowModal() == wx.ID_YES:
recordStatus="?"
global recordTimeDelay
recordTimeDelay = int(self.recordTimeOut.GetValue())
print("??????????", recordTimeDelay)
dlg.Destroy()
else:
recordStatus="?"
self.Parent.updateRecordStatus(recordStatus)
评论列表
文章目录