Remove use of wxHIDE_READONLY

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2006-06-27 22:30:12 +00:00
parent 16182b7b52
commit a43dbe7260
2 changed files with 2 additions and 2 deletions

View File

@ -296,7 +296,7 @@ def openFileDialog(parent=None, title='Open', directory='', filename='',
def saveFileDialog(parent=None, title='Save', directory='', filename='',
wildcard='All Files (*.*)|*.*',
style=wx.SAVE | wx.HIDE_READONLY | wx.OVERWRITE_PROMPT):
style=wx.SAVE | wx.OVERWRITE_PROMPT):
return fileDialog(parent, title, directory, filename, wildcard, style)

View File

@ -406,7 +406,7 @@ class PyInformationalMessagesFrame:
self.CloseFile()
dlg = wx.FileDialog(self.frame,
"Choose a new log file", self.dir,"","*",
wx.SAVE | wx.HIDE_READONLY | wx.OVERWRITE_PROMPT)
wx.SAVE | wx.OVERWRITE_PROMPT)
if dlg.ShowModal() == wx.ID_CANCEL:
dlg.Destroy()
return 0