wxListCtrl and deselect item

I do a multiselect (for example) the first 5 items by shift and down arrow.
But if i'd to come back of one item using shift+up arrow and select only 4 items, the 5�item doesn't deselect.
Only the focus change from 5�item to 4�item, but when the 5�item lost the focus, doesn't lost the select.

Can you help me, please?

That may be how it is intended to work for the platform. Which platform are you on?

···

On 2/15/11 2:24 AM, Ale Ghelfi wrote:

I do a multiselect (for example) the first 5 items by shift and down arrow.
But if i'd to come back of one item using shift+up arrow and select only
4 items, the 5�item doesn't deselect.
Only the focus change from 5�item to 4�item, but when the 5�item lost
the focus, doesn't lost the select.

Can you help me, please?

--
Robin Dunn
Software Craftsman

That may be how it is intended to work for the platform. Which platform
are you on?

ubuntu 10.10 amd64

You need to use ctrl-click to toggle the selection on selected items. Or clear your multi-select and select again.

···

On 2/21/11 6:45 AM, Ale Ghelfi wrote:

I do a multiselect (for example) the first 5 items by shift and down arrow.
But if i'd to come back of one item using shift+up arrow and select only
4 items, the 5�item doesn't deselect.
Only the focus change from 5�item to 4�item, but when the 5�item lost
the focus, doesn't lost the select.

That may be how it is intended to work for the platform. Which platform
are you on?

ubuntu 10.10 amd64

--
Robin Dunn
Software Craftsman