AGW Logo

svn SVN Revision 69627 For framemanager

This file contains the SVN revision history for framemanager, at revision 69627.

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: 01-Apr-2009 02:45:51 UTC
  • Committer: AG
  • File Size: 365384 byte(s)

svn_log Log Messages

The following log message was entered by the committer:

  • AuiManager: fix the assertion error in the demo;
  • Others: minor fixes to the docstrings.

svn_diff Diff To Previous Version (69086)

Version SVN diff:

--- wxPython/3rdParty/AGW/agw/aui/framemanager.py   2011/09/14 19:39:08     69086
+++ wxPython/3rdParty/AGW/agw/aui/framemanager.py   2011/11/01 19:42:21     69627
@@ -13,7 +13,7 @@
# Python Code By:
#
# Andrea Gavana, @ 23 Dec 2005
-# Latest Revision: 17 Aug 2011, 15.00 GMT
+# Latest Revision: 01 Nov 2011, 21.00 GMT
#
# For All Kind Of Problems, Requests Of Enhancements And Bug Reports, Please
# Write To Me At:
@@ -4034,7 +4034,9 @@
Default value for `agwFlags` is:
``AUI_MGR_DEFAULT`` = ``AUI_MGR_ALLOW_FLOATING`` | ``AUI_MGR_TRANSPARENT_HINT`` | ``AUI_MGR_HINT_FADE`` | ``AUI_MGR_NO_VENETIAN_BLINDS_FADE``

-         :note: If using the ``AUI_MGR_USE_NATIVE_MINIFRAMES``, double-clicking on a
+         :note:
+
+          If using the ``AUI_MGR_USE_NATIVE_MINIFRAMES``, double-clicking on a
floating pane caption will not re-dock the pane, but simply maximize it (if
L{AuiPaneInfo.MaximizeButton} has been set to ``True``) or do nothing.
"""
@@ -4321,7 +4323,9 @@
``AUI_MGR_AUTONB_NO_CAPTION``        Panes that merge into an automatic notebook will not have the pane caption visible
==================================== ==================================

-         :note: If using the ``AUI_MGR_USE_NATIVE_MINIFRAMES``, double-clicking on a
+         :note:
+
+          If using the ``AUI_MGR_USE_NATIVE_MINIFRAMES``, double-clicking on a
floating pane caption will not re-dock the pane, but simply maximize it (if
L{AuiPaneInfo.MaximizeButton} has been set to ``True``) or do nothing.

@@ -4477,8 +4481,14 @@
from a window.
"""

-        if self._frame:
-            self._frame.RemoveEventHandler(self)
+        if not self._frame:
+            return
+
+        for klass in [self._frame] + list(self._frame.GetChildren()):
+            handler = klass.GetEventHandler()
+            if klass is not handler:
+                if isinstance(handler, AuiManager):
+                    klass.PopEventHandler(True)


def GetArtProvider(self):
Tree