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: