]> git.saurik.com Git - wxWidgets.git/commit
If, in a single-selection listctrl, a focused item is selected, and the
authorOve Kaaven <ovek@arcticnet.no>
Wed, 19 Jul 2000 08:36:53 +0000 (08:36 +0000)
committerOve Kaaven <ovek@arcticnet.no>
Wed, 19 Jul 2000 08:36:53 +0000 (08:36 +0000)
commit4aefa363efc2b256668fe90e3a20984b69cac89e
tree136b25341e98fa98e97ea8c3524d1e8a3645799d
parent63c8fa956588acfd80c10e90c0d6032a0d66fdd5
If, in a single-selection listctrl, a focused item is selected, and the
focus is moved programmatically (SetItemState) without selecting the new
item, the old focused item wasn't deselected, making the listctrl end up
with TWO selected items when the focused item gets selected by the user.
So I made SetItemState deselect the old focused item when the focus is
moved in a single-selection listctrl.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/generic/listctrl.cpp