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:
@@ -296,7 +296,7 @@ def openFileDialog(parent=None, title='Open', directory='', filename='',
|
|||||||
|
|
||||||
def saveFileDialog(parent=None, title='Save', directory='', filename='',
|
def saveFileDialog(parent=None, title='Save', directory='', filename='',
|
||||||
wildcard='All Files (*.*)|*.*',
|
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)
|
return fileDialog(parent, title, directory, filename, wildcard, style)
|
||||||
|
|
||||||
|
|
||||||
|
@@ -406,7 +406,7 @@ class PyInformationalMessagesFrame:
|
|||||||
self.CloseFile()
|
self.CloseFile()
|
||||||
dlg = wx.FileDialog(self.frame,
|
dlg = wx.FileDialog(self.frame,
|
||||||
"Choose a new log file", self.dir,"","*",
|
"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:
|
if dlg.ShowModal() == wx.ID_CANCEL:
|
||||||
dlg.Destroy()
|
dlg.Destroy()
|
||||||
return 0
|
return 0
|
||||||
|
Reference in New Issue
Block a user