From: Carl G. <cg...@gm...> - 2005-06-29 05:17:07
|
Hi, 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=20 wxSystemSettings::GetSystemColour() 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 |