svn commit: r420428 - in head/devel/drpython: . files
John Marino
marino at FreeBSD.org
Thu Aug 18 22:54:23 UTC 2016
Author: marino
Date: Thu Aug 18 22:54:22 2016
New Revision: 420428
URL: https://svnweb.freebsd.org/changeset/ports/420428
Log:
devel/drpython: Remove wx.HIDE_READONLY attribute from wx.FileDialog
This attribute has been removed for wxPython 3.0. Remove the flag
to fix runtime error during saving and loading. See similar report on
DrPython bug report 137.
PR: 201699
Submitted by: Jordan Irwin
Added:
head/devel/drpython/files/patch-drFileDialog.py (contents, props changed)
Modified:
head/devel/drpython/Makefile
Modified: head/devel/drpython/Makefile
==============================================================================
--- head/devel/drpython/Makefile Thu Aug 18 22:27:48 2016 (r420427)
+++ head/devel/drpython/Makefile Thu Aug 18 22:54:22 2016 (r420428)
@@ -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}
Added: head/devel/drpython/files/patch-drFileDialog.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/drpython/files/patch-drFileDialog.py Thu Aug 18 22:54:22 2016 (r420428)
@@ -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)
More information about the svn-ports-head
mailing list