def OnClose(self, event):
        event.Veto()
        if self.GetClosable():
            self.Close()
            evt = wxPageClosedEvent()
            wx.PostEvent(self, evt)
Handle the page close event.
dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/wx/wx_page.py/wxPage.OnClose