def _wx_on_cancel(self, event):

        self.return_code = CANCEL

        # Let the default handler close the dialog appropriately.
        event.Skip()
Called when the 'Cancel' button is pressed.
dataset/ETHPy150Open enthought/pyface/pyface/ui/wx/dialog.py/Dialog._wx_on_cancel