From: Robin Dunn Date: Wed, 11 Oct 2006 03:53:11 +0000 (+0000) Subject: use wx.SAVE style for the save dialog X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/88535d8ed59e42ca5a8465355526052f19ed4174 use wx.SAVE style for the save dialog git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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: