[Python-modules-team] Bug#758695: python-traitsui: Updated patch for wxPython 3.0
Olly Betts
olly at survex.com
Sat Sep 20 00:40:36 UTC 2014
Control: reopen -1
Dear maintainer,
Testing a patch for mayavi2 (which I'll send in shortly), I found
further changes are needed to python-traitsui.
With the attached patch to python-traitsui, mayavi2 seems to work well.
I've eschewed PushEventHandler() because it seems hard to ensure that
the event handler reliably gets popped before the window/control is
destroyed (and wx3.0's wxdebug assertions complain if it isn't popped).
Instead I'm using Bind(), which is the preferred way to set up event
handling dynamically since wx 2.9.0:
http://docs.wxwidgets.org/trunk/overview_events.html
Since this is essentially fixing a problem in my previous NMU, I'm
intending to upload this in the near future, but I felt it was polite
to give you a chance to comment on the patch.
Cheers,
Olly
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-traitsui-4.4.0-1.3-nmu.diff
Type: text/x-diff
Size: 5175 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20140920/ea4417ab/attachment.diff>
More information about the Python-modules-team
mailing list