git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39861
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
def saveFileDialog(parent=None, title='Save', directory='', filename='',
wildcard='All Files (*.*)|*.*',
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)
return fileDialog(parent, title, directory, filename, wildcard, style)
self.CloseFile()
dlg = wx.FileDialog(self.frame,
"Choose a new log file", self.dir,"","*",
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
if dlg.ShowModal() == wx.ID_CANCEL:
dlg.Destroy()
return 0