|
From: Carl G. <cg...@gm...> - 2005-06-28 17:03:43
|
Hi,
[I mailed this originally about 24 hours ago but it doesn't appear to have
reached the list. Sorry for the repost if both show up!]
I was delighted to discover wxTreeListCtrl the other day. I've integrated
it into my application easily. Thanks a lot!
I have three comments:
1. If someone goes back over the documentation, alphabetizing it would be
a great service. The methods are hard to find since it looks like the
wxTreeCtrl methods are first followed by the wxListCtrl-like ones. Or
something.
2. For those of us who build with WXWIN_COMPATIBILITY_2_4 turned
off, I suggest changing the references to wxSystemSettings::GetSystemColo=
=20
ur()
to GetColour() since the former form is now deprecated.
3. If you use the style wxTR_HIDE_ROOT, then wxTreeListCtrl::SelectAll()
(and perhaps other related methods) doesn't work correctly. The fix is=20
pretty simple. At line 2611 of treelistctrl.cpp, change
if (parent->HasChildren() && parent->IsExpanded()) {
to
if (parent->HasChildren() &&
(parent->IsExpanded() || HasFlag (wxTR_HIDE_ROOT))) {
Thanks again for the useful class,
carl
|