X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b97ff8ed661f63c481fefb79b9708ad5d0749342..270a8b4604c143c8348c14845871d003f264c20c:/wxPython/demo/RichTextCtrl.py diff --git a/wxPython/demo/RichTextCtrl.py b/wxPython/demo/RichTextCtrl.py index f9ceffd447..c31b5aa48d 100644 --- a/wxPython/demo/RichTextCtrl.py +++ b/wxPython/demo/RichTextCtrl.py @@ -197,7 +197,7 @@ class RichTextFrame(wx.Frame): # TODO: Use RichTextBuffer.GetExtWildcard to get the wildcard string dlg = wx.FileDialog(self, "Choose a filename", wildcard="All files (*.*)|*.*", - style=wx.OPEN) + style=wx.SAVE) if dlg.ShowModal() == wx.ID_OK: path = dlg.GetPath() if path: