This file contains the SVN revision history for auibar, at revision 69147.
Available information include commit date, the name of the committer, the file size, the SVN log messages and a diff from the previous version (if available).
The following log message was entered by the committer:
AuiToolBar: applied patch from nagylzs, fixing bug #13489.
Version SVN diff:
--- wxPython/3rdParty/AGW/agw/aui/auibar.py 2011/09/15 20:14:29 69097
+++ wxPython/3rdParty/AGW/agw/aui/auibar.py 2011/09/18 19:50:28 69147
@@ -2116,6 +2116,21 @@
return None
+ def HitTest(self, x, y):
+ """
+ Finds a tool for the given mouse position.
+
+ :param `x`: mouse `x` position;
+ :param `y`: mouse `y` position.
+
+ :returns: a pointer to a L{AuiToolBarItem} if a tool is found, or ``None`` otherwise.
+
+ :note: This method is similar to L{FindToolForPosition} but it works with absolute coordinates.
+ """
+
+ return self.FindToolForPosition(*self.ScreenToClient((x,y)))
+
+
def FindToolForPositionWithPacking(self, x, y):
"""
Finds a tool for the given mouse position, taking into account also the