wxDemo wxTreeCtrl demo

James Lynes <[email protected]>
Newsgroups gmane.comp.lang.perl.wxperl
Message-ID <CABPysej+Mfw8zHeHdaUJKJgFx_oJVcmdH7hgPkL=_tBfQV0Pug@mail.gmail.com>
Good evening:

I'm playing with a TreeCtrl sample and I noticed something in my code and
in the wxDemo code.

Run the wxDemo TreeCtrl demo
   Select some node
      Background changes to red(selected)
   Rename the node
      Background stays red
   Deselect All
      Background returns to original color(deselected)
   Rename again(on an unselected(?) node)

The last selected node renames!

Expected a MessageBox "Must select an item, first!"

Is Deselect All not working even though the background color is changing?

Thanks,
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.