Re: wxTreeCtrl InsertItem Method

Steve Cookson <[email protected]>
Newsgroups gmane.comp.lang.perl.wxperl
Message-ID <[email protected]>
Hi James,

On 05/11/14 17:14, James Lynes wrote:
> I assume that you were looking in TreeCtrl.xs(I'm starting to see 
> how/where things are done!)
Yes.
>
> 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?
Not necessarily, although that is the easiest.  It's clearly best if the 
wxPerl implementation follows the wxWidgets documentation.

Where wxWidgets uses overloaded methods there are ways of mimicking 
that, but I'm not familiar with it.  I should probably look on the wiki, 
as Mark spent some time documenting it there.

Regards

Steve.
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.