]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/RichTextCtrl.py
logical vs. boolean operators, unused decls and vars, etc
[wxWidgets.git] / wxPython / demo / RichTextCtrl.py
index f9ceffd44771dcd09f455a692aa58a58648a6ff7..c31b5aa48ddc4b781f2380902233b4e6057e8b89 100644 (file)
@@ -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: