dabo Commit
Revision 5072
Date: 2009-02-22 18:18:22 -0800 (Sun, 22 Feb 2009)
Author: Ed
Trac: http://trac.dabodev.com/changeset/5072
Changed:
U trunk/dabo/ui/uiwx/dPemMixin.py
Log:
Fixed a situation that happens occasionally in tweezer when deleting old
tweets, in which the deleted hover image is still firing its timer.
Diff:
Modified: trunk/dabo/ui/uiwx/dPemMixin.py
===================================================================
--- trunk/dabo/ui/uiwx/dPemMixin.py 2009-02-22 18:13:20 UTC (rev 5071)
+++ trunk/dabo/ui/uiwx/dPemMixin.py 2009-02-23 02:18:22 UTC (rev 5072)
@@ -483,6 +483,13 @@
def _checkMouseOver(self):
+ """Called as part of the Hover mechanism for determining if the
mouse
+ is no longer over the object.
+ """
+ if not self:
+ # Object has been released
+ self._hoverTimer = None
+ return
mx, my = self.Parent.ScreenToClient(wx.GetMousePosition())
if not self.posIsWithin(mx, my):
self.__onMouseLeave(None)
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]