self.Bind(wx.EVT_CLOSE, self.on_close_window)