[Python-modules-commits] [pyenchant] 03/08: Update for wxPython 3.0
Piotr Ożarowski
piotr at moszumanska.debian.org
Fri Sep 29 08:16:36 UTC 2017
This is an automated email from the git hooks/post-receive script.
piotr pushed a commit to branch master
in repository pyenchant.
commit 2ff8081da544ec287932d150f23ff1a9efc14673
Author: SVN-Git Migration <python-modules-team at lists.alioth.debian.org>
Date: Thu Oct 8 10:28:07 2015 -0700
Update for wxPython 3.0
These changes should remain compatible with wxPython 2.8.
Bug-Debian: https://bugs.debian.org/759075
Forwarded: no
Last-Update: 2014-09-14
Patch-Name: wxpython3.0.patch
---
enchant/checker/wxSpellCheckerDialog.py | 2 +-
tools/wx_example.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/enchant/checker/wxSpellCheckerDialog.py b/enchant/checker/wxSpellCheckerDialog.py
index b6aa66b..6ae1689 100755
--- a/enchant/checker/wxSpellCheckerDialog.py
+++ b/enchant/checker/wxSpellCheckerDialog.py
@@ -256,7 +256,7 @@ def _test():
from enchant.checker import SpellChecker
text = "This is sme text with a fw speling errors in it. Here are a fw more to tst it ut."
printf(["BEFORE:", text])
- app = wx.PySimpleApp()
+ app = wx.App(False)
dlg = TestDialog()
chkr = SpellChecker("en_US",text)
dlg.SetSpellChecker(chkr)
diff --git a/tools/wx_example.py b/tools/wx_example.py
index c0d9285..d88ebcb 100755
--- a/tools/wx_example.py
+++ b/tools/wx_example.py
@@ -10,7 +10,7 @@ text = "this is some smple text with a few erors in it"
print "[INITIAL TEXT:]", text
# Need to have an App before any windows will be shown
-app = wx.PySimpleApp()
+app = wx.App(False)
# Construct the dialog, and the SpellChecker it is to use
dlg = wxSpellCheckerDialog(None)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pyenchant.git
More information about the Python-modules-commits
mailing list