wxListCtrl: problem with single selection after a sort
defreitas at gmail.com
defreitas at gmail.com
Mon Jul 2 15:28:22 PDT 2007
I am using wxGTK 2.8.4 on an SGI Irix 6.5 machine with the MIPS 7.4
compiler. My GTK+ version is 2.4.
I've been seeing a problem where the selection highlight seems to get
mixed up after a sort. I was going to pare down my program to get a
reasonably small example, but I noticed the demo program in the
distribution exhibits the same problem. This does not occur in my MS
Windows distribution.
To reproduce the problem, bring up the "listctrl" sample program.
Select the item that says "This is item 5". Then append an item to the
list via "List->Append an item". Now do a sort via "List->Sort". The
previoulsy selected item is still selected (good)... but when I try to
select another item, the previous selected item does not deselect
(bad). I now have two selected items, even though I should be in
"single selection" mode.
Any answers?
TIA,
Marco
More information about the wx-users
mailing list