CustomTreeCtrl Patches
Andrea Gavana
andrea.gavana at gmail.com
Fri Mar 2 11:09:55 PST 2007
Hi All,
following the bug reports (mainly from Frank), attached you'll
find the patch, for the main script and for the demo, made against
CVS. I hope Robin will integrate it in the next wxPython release. The
patch fixes the following problems/bugs/inconsistencies:
1) ExpandAll has been renamed as ExpandAllChildren, and the new
ExpandAll now takes no input arguments (consistent with wx.TreeCtrl);
2) ctstyle keyword is now defaulted to 0: every style related to
CustomTreeCtrl and the underlying wx.PyScrolledWindow should be
declared using the keyword "style" only. For backward compatibility,
ctstyle continues to work as I merged ctstyle and style in the
__init__ method;
3) GetClassDefaultAttributes is now a classmethod;
4) UnselectAll bug fixed.
I have no still no idea on what to do about the item fonts (Frank, any news=
?).
If there are volunteers to test the modifications, please report any
stupid mistake I may have made.
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.virgilio.it/infinity77/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: customtreectrl.py.patch
Type: application/octet-stream
Size: 4315 bytes
Desc: not available
Url : http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/20070=
302/1e48a5f6/customtreectrl.py.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CustomTreeCtrlDemo.py.patch
Type: application/octet-stream
Size: 1524 bytes
Desc: not available
Url : http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/20070=
302/1e48a5f6/CustomTreeCtrlDemo.py.obj
More information about the wxpython-users
mailing list