def OnCancel(self, events):
        self.EndModal(wx.ID_CANCEL)

# end of class TerminalSettingsDialog
Do not update data but close dialog.
dataset/ETHPy150Open pyserial/pyserial/examples/wxTerminal.py/TerminalSettingsDialog.OnCancel