From e2e0b76a952ec359e770f5b37f87bc25581bd339 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 16 Oct 2006 19:50:21 +0000 Subject: [PATCH] Destroy the FileDialog when finished with it git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/demo/RichTextCtrl.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wxPython/demo/RichTextCtrl.py b/wxPython/demo/RichTextCtrl.py index c31b5aa48d..b4824e7073 100644 --- a/wxPython/demo/RichTextCtrl.py +++ b/wxPython/demo/RichTextCtrl.py @@ -202,7 +202,8 @@ class RichTextFrame(wx.Frame): path = dlg.GetPath() if path: self.rtc.SaveFile(path) - + dlg.Destroy() + def OnFileViewHTML(self, evt): pass -- 2.45.2