[Twisted-Python] removing unsupported reactors in twisted 2.6: qt,
Michele Petrazzo
michele.petrazzo at unipex.it
Mon Sep 25 11:13:52 MDT 2006
Michele Petrazzo wrote:
> I don't know what platform are you using, but here wx 2.7
> (2.7.0.0pre.20060712) and linux (gtk) work well. Work also well into my
> win box...
>
Sorry, but I was using threadselectreactor direcly... This is my own
patch for wxreactor that work with wx 2.7.
Hope this help,
Michele
michele:/usr/lib/python2.4/site-packages/twisted/internet# diff
wxreactor.py wxreactor_ok.py
37c37
< import wx
---
> from wxPython.wx import wxApp, wxCallAfter, wxEventLoop, wxFrame, NULL
40c40
< class DummyApp(wx.App):
---
> class DummyApp(wxApp):
84c84
< self.interleave(wx.CallAfter)
---
> self.interleave(wxCallAfter)
92,93c92,93
< ev = wx.EventLoop()
< wx.EventLoop.SetActive(ev)
---
> ev = wxEventLoop()
> wxEventLoop.SetActive(ev)
More information about the Twisted-Python
mailing list