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).
The following log message was entered by the committer:
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