[Python-modules-commits] [twisted] 02/05: wxpython3.0

Free Ekanayaka freee at moszumanska.debian.org
Thu Oct 20 13:47:08 UTC 2016


This is an automated email from the git hooks/post-receive script.

freee pushed a commit to branch patch-queue/master
in repository twisted.

commit 29c02bc1304050b26dc5165053f0542209e60df2
Author: Matthias Klose <doko at debian.org>
Date:   Thu Oct 20 04:34:06 2016 +0000

    wxpython3.0
    
    
    Gbp-Pq: Name wxpython3.0.patch
---
 twisted/internet/wxreactor.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/twisted/internet/wxreactor.py b/twisted/internet/wxreactor.py
index 71e861a..6713de0 100644
--- a/twisted/internet/wxreactor.py
+++ b/twisted/internet/wxreactor.py
@@ -25,11 +25,11 @@ real applications.
 
 import Queue
 try:
-    from wx import PySimpleApp as wxPySimpleApp, CallAfter as wxCallAfter, \
+    from wx import App as wxApp, CallAfter as wxCallAfter, \
          Timer as wxTimer
 except ImportError:
     # older version of wxPython:
-    from wxPython.wx import wxPySimpleApp, wxCallAfter, wxTimer
+    from wxPython.wx import wxApp, wxCallAfter, wxTimer
 
 from twisted.python import log, runtime
 from twisted.internet import _threadedselect
@@ -125,7 +125,7 @@ class WxReactor(_threadedselect.ThreadedSelectReactor):
         if not hasattr(self, "wxapp"):
             log.msg("registerWxApp() was not called on reactor, "
                     "registering my own wxApp instance.")
-            self.registerWxApp(wxPySimpleApp())
+            self.registerWxApp(wxApp(False))
 
         # start select() thread:
         self.interleave(self._runInMainThread,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/twisted.git



More information about the Python-modules-commits mailing list