Destroy the FileDialog when finished with it

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2006-10-16 19:50:21 +00:00
parent f9c1b462c7
commit e2e0b76a95

View File

@ -202,7 +202,8 @@ class RichTextFrame(wx.Frame):
path = dlg.GetPath()
if path:
self.rtc.SaveFile(path)
dlg.Destroy()
def OnFileViewHTML(self, evt): pass