AGW Logo

svn SVN Revision 68342 For framemanager

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

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: 03-Apr-2009 08:32:16 UTC
  • Committer: AG
  • File Size: 361572 byte(s)

svn_log Log Messages

The following log message was entered by the committer:

  • ToasterBox: fixed ticket #13258. It appears wx.FRAME_TOOL_WINDOW doesn’t work as expected on Windows 7
  • AuiNotebook: fixed tickets #12800 and #12919

svn_diff Diff To Previous Version (67166)

Version SVN diff:

--- wxPython/3rdParty/AGW/agw/aui/framemanager.py   2011/03/10 13:52:18     67166
+++ wxPython/3rdParty/AGW/agw/aui/framemanager.py   2011/07/23 19:06:24     68342
@@ -13,7 +13,7 @@
# Python Code By:
#
# Andrea Gavana, @ 23 Dec 2005
-# Latest Revision: 10 Mar 2011, 15.00 GMT
+# Latest Revision: 22 Jul 2011, 21.00 GMT
#
# For All Kind Of Problems, Requests Of Enhancements And Bug Reports, Please
# Write To Me At:
@@ -1044,8 +1044,10 @@
ret = self.MinSize1(arg1)
elif isinstance(arg1, types.TupleType):
ret = self.MinSize1(wx.Size(*arg1))
-        else:
+        elif isinstance(arg1, types.IntType) and arg2 is not None:
ret = self.MinSize2(arg1, arg2)
+        else:
+            raise Exception("Invalid argument passed to `MinSize`: arg1=%s, arg2=%s"%(repr(arg1), repr(arg2)))

return ret

@@ -1086,8 +1088,10 @@
ret = self.MaxSize1(arg1)
elif isinstance(arg1, types.TupleType):
ret = self.MaxSize1(wx.Size(*arg1))
-        else:
+        elif isinstance(arg1, types.IntType) and arg2 is not None:
ret = self.MaxSize2(arg1, arg2)
+        else:
+            raise Exception("Invalid argument passed to `MaxSize`: arg1=%s, arg2=%s"%(repr(arg1), repr(arg2)))

return ret

@@ -1130,8 +1134,10 @@
ret = self.BestSize1(arg1)
elif isinstance(arg1, types.TupleType):
ret = self.BestSize1(wx.Size(*arg1))
-        else:
+        elif isinstance(arg1, types.IntType) and arg2 is not None:
ret = self.BestSize2(arg1, arg2)
+        else:
+            raise Exception("Invalid argument passed to `BestSize`: arg1=%s, arg2=%s"%(repr(arg1), repr(arg2)))

return ret
Tree

Table Of Contents

Previous topic

aui.framemanager functions

Next topic

SVN Revision 68475 For framemanager