

def OnCancel(self, events):
    'Do not update data but close dialog.'
    self.EndModal(wx.ID_CANCEL)

dataset/ETHPy150Open pyserial/pyserial/examples/wxTerminal.py TerminalSettingsDialog.OnCancel/original