wx.TR_HIDE_ROOT problem

THANK YOU!!!!!!!!!!! I didn't add LINES_AT_ROOT, I didn't understand that
I had to
do that in order to show twist buttons.

Susanne

···

On Thu, 18 Sep 2003 borco@go.ro wrote:

Hi,

I have a tree with the following style:

    wx.TR_HAS_BUTTONS
    > wx.TR_LINES_AT_ROOT
    > wx.TR_HIDE_ROOT

Everything is fine except I can't add any python data to the root item. Is
this a bug ? In the attached code, if I uncomment line 13 that adds some
data to the hidden root item, the application crash.

Is there any workaround ?

TIA,

Ionutz