If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
I want to use a wxTreeCtrl with wxTR_HIDE_ROOT, but when tree's root is hidden, ExpandAll() runs an assertion.
So what's the matter ?
I know that a hidden root cannot be collapsed, that's just a feature isn't it ? But why is it not possible to run a full tree expansion with a hidden root ? The behaviour seems to be the same with wxTR_HIDE_ROOT, we must call AddRoot() and then add first childs to this wxTreeItemId... Why does the control doesn't manage the expansion/collapse under root lvl ?