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:
@@ -202,6 +202,7 @@ class RichTextFrame(wx.Frame):
|
|||||||
path = dlg.GetPath()
|
path = dlg.GetPath()
|
||||||
if path:
|
if path:
|
||||||
self.rtc.SaveFile(path)
|
self.rtc.SaveFile(path)
|
||||||
|
dlg.Destroy()
|
||||||
|
|
||||||
|
|
||||||
def OnFileViewHTML(self, evt): pass
|
def OnFileViewHTML(self, evt): pass
|
||||||
|
Reference in New Issue
Block a user