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.
please let me know if this is a known problem, perhaps if
a solution exists or if it is worth posting it to the bug tracker:
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.
please let me know if this is a known problem, perhaps if
a solution exists or if it is worth posting it to the bug tracker:
Sounds like a bug. Go ahead and enter a bug report.
ยทยทยท
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!