From 88535d8ed59e42ca5a8465355526052f19ed4174 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 11 Oct 2006 03:53:11 +0000 Subject: [PATCH] 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 --- wxPython/demo/RichTextCtrl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.45.2