From 7e8142e986620162a1e596010530d0c4ee86434c Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 17 May 2006 05:13:35 +0000 Subject: [PATCH] Use Bind for OnCloseWindow git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/_app_ex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wxPython/src/_app_ex.py b/wxPython/src/_app_ex.py index 60ee313fea..dc168fbf10 100644 --- a/wxPython/src/_app_ex.py +++ b/wxPython/src/_app_ex.py @@ -27,7 +27,7 @@ class PyOnDemandOutputWindow: style=wx.TE_MULTILINE|wx.TE_READONLY) self.text.AppendText(st) self.frame.Show(True) - EVT_CLOSE(self.frame, self.OnCloseWindow) + self.frame.Bind(wx.EVT_CLOSE, self.OnCloseWindow) def OnCloseWindow(self, event): -- 2.47.2