This file contains the SVN revision history for auibook, at revision 70883.
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:
AuiNotebook: correct wrong indentation in OnLeftDown which cause bad flicker on the AuiNotebook buttons.
Version SVN diff:
--- wxPython/3rdParty/AGW/agw/aui/auibook.py 2012/03/07 19:49:50 70836
+++ wxPython/3rdParty/AGW/agw/aui/auibook.py 2012/03/12 17:13:59 70883
@@ -1943,13 +1943,14 @@
self.GetWindowFromIdx(page_index).SetFocus()
self._hover_button = self.ButtonHitTest(event.GetX(), event.GetY())
- if self._hover_button:
- self._pressed_button = self._hover_button
- self._pressed_button.cur_state = AUI_BUTTON_STATE_PRESSED
- self._on_button = True
- self.Refresh()
- self.Update()
+ if self._hover_button:
+ self._pressed_button = self._hover_button
+ self._pressed_button.cur_state = AUI_BUTTON_STATE_PRESSED
+ self._on_button = True
+
+ self.Refresh()
+ self.Update()
def OnCaptureLost(self, event):