From: Robin Dunn Date: Mon, 16 Oct 2006 19:50:21 +0000 (+0000) Subject: Destroy the FileDialog when finished with it X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e2e0b76a952ec359e770f5b37f87bc25581bd339 Destroy the FileDialog when finished with it git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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