Re: wxTreeCtrl InsertItem Method

James Lynes <[email protected]>
Newsgroups gmane.comp.lang.perl.wxperl
Message-ID <CABPyseh_BDKAh-ZG5WXYtbFAj9w=XEWYm4ojA=YX7ezqwaFzZA@mail.gmail.com>
Steve:

Thanks.

I assume that you were looking in TreeCtrl.xs(I'm starting to see how/where
things are done!)

I see that InsertItemPrev needs two item pointers while InsertItemBef uses
one pointer and one index.

I'll give InsertItemBef a try, it's not in the wxWidgets docs. I guess
wxPerl needs unique names for alternate constructers?

It looks like the wrapping uses wxTreeItemId, so I guess that could be used
to create a new blank item if needed.

James
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.