Ticket #626 (closed defect: fixed)
[MSW] Wrong selection events in multi selection tree control
| Reported by: | haribeau | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | wxMSW | Version: | |
| Keywords: | Cc: | haribeau, hansvl, ghazel, hockkn, leio, wx@…, wxscary@…, net147@… | |
| Blocked By: | Patch: | yes | |
| Blocking: |
Description
Situation: wxListCtrl/wxTreeCtrl each with multiselect
allowed (wxTR_MULTIPLE style) on Win32
when I press the ctrl-button during selecting icons with
the mouse each unselected icon is added (when
clicked) and each selected icon is deselected (when
clicked).
Problem: when I deselect an icon, I do not get a
EVT_TREE_SEL_CHANGED. The reason seems to be
that the deselected item still has the focus and so it is
still seen as selected, even if it was deselected. The
problem is similar on wxListCtrl and wxTreeCtrl.
the problem can be seen on the wxListCtrl demo.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

