I’ve got a few questions about wx.gizmos.TreeListCtrl:
1] In the 3.0.x documentation for TreeListCtrl it says that the root node is supposed to be invisible, yet the root node shows up in the 3.0.x demo code, at least running 3.0.0 on OS X 10.9. How do I make the root node invisible again?
2] When I put a TreeListCtrl inside a Sizer and use SetSize() after putting all the data into the TreeListCtrl, there’s odd extra space. At the bottom, it looks like there are empty rows. On the right, it will keep expanding the TreeListCtrl as far as I can stretch the window horizontally.
I’m attaching a screenshot so you can see what I’m talking about. I’ve set the background color to certain elements to be hideous so their extent is obvious.
Any ideas?
Thanks!

It’s not in the documentation, but I found the wx.TR_HIDE_ROOT style flag, which answers the first question.
···
On Thursday, March 13, 2014 10:36:57 AM UTC-6, absco...@gmail.com wrote:
I’ve got a few questions about wx.gizmos.TreeListCtrl:
1] In the 3.0.x documentation for TreeListCtrl it says that the root node is supposed to be invisible, yet the root node shows up in the 3.0.x demo code, at least running 3.0.0 on OS X 10.9. How do I make the root node invisible again?
2] When I put a TreeListCtrl inside a Sizer and use SetSize() after putting all the data into the TreeListCtrl, there’s odd extra space. At the bottom, it looks like there are empty rows. On the right, it will keep expanding the TreeListCtrl as far as I can stretch the window horizontally.
I’m attaching a screenshot so you can see what I’m talking about. I’ve set the background color to certain elements to be hideous so their extent is obvious.
Any ideas?
Thanks!