Patch from Andrea that fixes the following problems/issues:
authorRobin Dunn <robin@alldunn.com>
Tue, 17 Apr 2007 16:26:28 +0000 (16:26 +0000)
committerRobin Dunn <robin@alldunn.com>
Tue, 17 Apr 2007 16:26:28 +0000 (16:26 +0000)
commitbe3eff6271ca7aff598163ef7c2d0e43844568c2
treefe5b75c539f1eb7f321ddcd7db69e693ed461046
parent59953bf4ba167311fb0cd2c2c0f3d5d0475b98c8
Patch from Andrea that fixes the following problems/issues:

a) ZeroDivisionError when using the Vista selection style and calling
SelectItem; for some strange reason, sometimes the item rect is not
initialized and that generates the ZeroDivisionError when painting the
selection rectangle;
b) Added a DeleteWindow method to GenericTreeItem class, for items
that hold a widget next to them;
c) Renamed CustomTreeCtrl method IsEnabled to IsItemEnabled, otherwise
it conflicts with wx.Window.IsEnabled;
d) Now CustomTreeCtrl behaves correctly when the widget attached to an
item is narrower (in height) than the item text;

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
wxPython/wx/lib/customtreectrl.py