def wx_drag_leave ( self, data ):
        if self._dock_info is not None:
            self._dock_info.draw( self.control )

            # Save the current '_dock_info' in '_leave_info' because under
            # Linux the drag and drop code sends a spurious 'drag_leave' event
            # immediately before a 'dropped_on' event, so we need to remember
            # the '_dock_info' value just in case the next event is
            # 'dropped_on':
            self._leave_info, self._dock_info = self._dock_info, None

#-- Pyface menu interface implementation ---------------------------------------

    #---------------------------------------------------------------------------
    #  Adds a menu item to the menu bar being constructed:
    #---------------------------------------------------------------------------
Handles a dragged Python object leaving the window.
dataset/ETHPy150Open enthought/pyface/pyface/dock/dock_window.py/DockWindow.wx_drag_leave