AGW Logo

svn SVN Revision 68021 For auibar

This file contains the SVN revision history for auibar, at revision 68021.

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).


file_info File Information

  • Commit Date: 07-Apr-2009 17:33:16 UTC
  • Committer: AG
  • File Size: 130636 byte(s)

svn_log Log Messages

The following log message was entered by the committer:

  • Fixed bug #13269 for CustomTreeCtrl and HyperTreeList (thanks to Frank Niessink);
  • Fixed bug #13268 for AuiToolBar;
  • Fixed bug #13107 on AuiNotebook.

svn_diff Diff To Previous Version (65721)

Version SVN diff:

--- wxPython/3rdParty/AGW/agw/aui/auibar.py 2010/10/01 21:03:22     65721
+++ wxPython/3rdParty/AGW/agw/aui/auibar.py 2011/06/22 19:56:23     68021
@@ -3664,8 +3664,8 @@
if self._overflow_sizer_item:

dropdown_size = self._art.GetElementSize(AUI_TBART_OVERFLOW_SIZE)
-            if dropdown_size > 0 and event.m_x > cli_rect.width - dropdown_size and \
-               event.m_y >= 0 and event.m_y < cli_rect.height and self._art:
+            if dropdown_size > 0 and event.GetX() > cli_rect.width - dropdown_size and \
+               event.GetY() >= 0 and event.GetY() < cli_rect.height and self._art:
return

self._action_pos = wx.Point(*event.GetPosition())
@@ -3730,8 +3730,8 @@
if self._overflow_sizer_item:

dropdown_size = self._art.GetElementSize(AUI_TBART_OVERFLOW_SIZE)
-            if dropdown_size > 0 and event.m_x > cli_rect.width - dropdown_size and \
-               event.m_y >= 0 and event.m_y < cli_rect.height and self._art:
+            if dropdown_size > 0 and event.GetX() > cli_rect.width - dropdown_size and \
+               event.GetY() >= 0 and event.GetY() < cli_rect.height and self._art:
return

self._action_pos = wx.Point(*event.GetPosition())
@@ -3778,7 +3778,7 @@

# start a drag event
if not self._dragging and self._action_item != None and self._action_pos != wx.Point(-1, -1) and \
-           abs(event.m_x - self._action_pos.x) + abs(event.m_y - self._action_pos.y) > 5:
+           abs(event.GetX() - self._action_pos.x) + abs(event.GetY() - self._action_pos.y) > 5:

self.SetToolTipString("")
self._dragging = True
Tree

Table Of Contents

Previous topic

ToolbarCommandCapture

Next topic

SVN Revision 68475 For auibar