]> git.saurik.com Git - wxWidgets.git/commitdiff
Use Bind for OnCloseWindow
authorRobin Dunn <robin@alldunn.com>
Wed, 17 May 2006 05:13:35 +0000 (05:13 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 17 May 2006 05:13:35 +0000 (05:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/_app_ex.py

index 60ee313fea96b9e00d704540e636894115c2dfcb..dc168fbf108593505ddbac5fe279e984b3403fba 100644 (file)
@@ -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):