View | Details | Raw Unified | Return to bug 201699
Collapse All | Expand All

(-)drFileDialog.py (-2 / +2 lines)
Lines 1026-1033 class drWxFileDialog(wx.FileDialog): Link Here
1026
def FileDialog(parent, title, wildcard, point=(0, 0), size=wx.DefaultSize, IsASaveDialog=0, MultipleSelection=0, ShowRecentFiles=0):
1026
def FileDialog(parent, title, wildcard, point=(0, 0), size=wx.DefaultSize, IsASaveDialog=0, MultipleSelection=0, ShowRecentFiles=0):
1027
        if parent.prefs.usewxfiledialog:
1027
        if parent.prefs.usewxfiledialog:
1028
            if IsASaveDialog:
1028
            if IsASaveDialog:
1029
                return drWxFileDialog(parent, title, "", "", wildcard, wx.SAVE|wx.HIDE_READONLY|wx.OVERWRITE_PROMPT)
1029
                return drWxFileDialog(parent, title, "", "", wildcard, wx.FD_SAVE|wx.FD_OVERWRITE_PROMPT)
1030
            else:
1030
            else:
1031
                return drWxFileDialog(parent, title, "", "", wildcard, wx.OPEN|wx.HIDE_READONLY|wx.MULTIPLE)
1031
                return drWxFileDialog(parent, title, "", "", wildcard, wx.FD_OPEN|wx.FD_MULTIPLE)
1032
        else:
1032
        else:
1033
            return drFileDialog(parent, title, wildcard, point, size, IsASaveDialog, MultipleSelection, ShowRecentFiles)
1033
            return drFileDialog(parent, title, wildcard, point, size, IsASaveDialog, MultipleSelection, ShowRecentFiles)

Return to bug 201699