parameters: (self, events)
docstring: Do not update data but close dialog.
docstring_summary: Do not update data but close dialog.
docstring_tokens: Do not update data but close dialog .
function: def OnCancel(self, events):
          """Do not update data but close dialog."""
          self.EndModal(wx.ID_CANCEL)
function_tokens: def OnCancel ( self , events ) : self . EndModal ( wx . ID_CANCEL )