]> git.saurik.com Git - wxWidgets.git/commitdiff
Destroy the FileDialog when finished with it
authorRobin Dunn <robin@alldunn.com>
Mon, 16 Oct 2006 19:50:21 +0000 (19:50 +0000)
committerRobin Dunn <robin@alldunn.com>
Mon, 16 Oct 2006 19:50:21 +0000 (19:50 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/demo/RichTextCtrl.py

index c31b5aa48ddc4b781f2380902233b4e6057e8b89..b4824e7073382e9e78b4081e00685dc74a9c25e1 100644 (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