[Python-modules-commits] r30599 - in packages/hachoir-wx/trunk/debian/patches (1 file)
mca-guest at users.alioth.debian.org
mca-guest at users.alioth.debian.org
Sat Sep 13 22:31:13 UTC 2014
Date: Saturday, September 13, 2014 @ 22:31:12
Author: mca-guest
Revision: 30599
add patch file
Added:
packages/hachoir-wx/trunk/debian/patches/wxpython3.0.patch
Added: packages/hachoir-wx/trunk/debian/patches/wxpython3.0.patch
===================================================================
--- packages/hachoir-wx/trunk/debian/patches/wxpython3.0.patch (rev 0)
+++ packages/hachoir-wx/trunk/debian/patches/wxpython3.0.patch 2014-09-13 22:31:12 UTC (rev 30599)
@@ -0,0 +1,27 @@
+Description: Update for wxPython 3.0
+ These changes retain compatibility with wxPython 2.8.
+Author: Olly Betts <olly at survex.com>
+Bug-Debian: https://bugs.debian.org/759048
+Forwarded: no
+Last-Update: 2014-09-06
+
+--- hachoir-wx-0.3.orig/hachoir_wx/dialogs.py
++++ hachoir-wx-0.3/hachoir_wx/dialogs.py
+@@ -4,7 +4,7 @@ import wx, os
+ from hachoir_core.i18n import _
+
+ def file_open_dialog():
+- dialog_style = wx.OPEN | wx.FILE_MUST_EXIST
++ dialog_style = wx.FD_OPEN | wx.FD_FILE_MUST_EXIST
+
+ dialog = wx.FileDialog(
+ None, message = _('Open'),
+@@ -14,7 +14,7 @@ def file_open_dialog():
+ return dialog
+
+ def file_save_dialog(title):
+- dialog_style = wx.SAVE
++ dialog_style = wx.FD_SAVE
+
+ dialog = wx.FileDialog(
+ None, message = title,
More information about the Python-modules-commits
mailing list