diff --git a/devel/drpython/Makefile b/devel/drpython/Makefile index f0c02dad8916..970206a0ee83 100644 --- a/devel/drpython/Makefile +++ b/devel/drpython/Makefile @@ -3,7 +3,7 @@ PORTNAME= drpython PORTVERSION= 3.11.4 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= devel python MASTER_SITES= SF/${PORTNAME}/DrPython%20%283.x%29/${PORTVERSION} PKGNAMESUFFIX= ${PYTHON_PKGNAMESUFFIX} diff --git a/devel/drpython/files/patch-drFileDialog.py b/devel/drpython/files/patch-drFileDialog.py new file mode 100644 index 000000000000..a730f849d117 --- /dev/null +++ b/devel/drpython/files/patch-drFileDialog.py @@ -0,0 +1,13 @@ +--- drFileDialog.py.orig 2015-07-19 21:30:17 UTC ++++ drFileDialog.py +@@ -1026,8 +1026,8 @@ class drWxFileDialog(wx.FileDialog): + def FileDialog(parent, title, wildcard, point=(0, 0), size=wx.DefaultSize, IsASaveDialog=0, MultipleSelection=0, ShowRecentFiles=0): + if parent.prefs.usewxfiledialog: + if IsASaveDialog: +- return drWxFileDialog(parent, title, "", "", wildcard, wx.SAVE|wx.HIDE_READONLY|wx.OVERWRITE_PROMPT) ++ return drWxFileDialog(parent, title, "", "", wildcard, wx.FD_SAVE|wx.FD_OVERWRITE_PROMPT) + else: +- return drWxFileDialog(parent, title, "", "", wildcard, wx.OPEN|wx.HIDE_READONLY|wx.MULTIPLE) ++ return drWxFileDialog(parent, title, "", "", wildcard, wx.FD_OPEN|wx.FD_MULTIPLE) + else: + return drFileDialog(parent, title, wildcard, point, size, IsASaveDialog, MultipleSelection, ShowRecentFiles)