enthought/enable — pull request #80 by corranwebster (2012-12-11 19:44:25+00:00)
Title: BUGFIX: handle missing window control during mouse events on qt

Under some circumstances we were trying to handle mouse events for missing controls - usually where the window was being removed programmatically from traits ui. This fixes the issue by checking that the control exists before trying to create a mouse event.

If not control is found, we return None, and so we add a check for this possibility in the abstract window base class.