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:
parent
16182b7b52
commit
a43dbe7260
@ -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)
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user