Don't deselect all others when SelectItem is called on a treectrl with
wxTR_MULTIPLE style git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
8028be3a32
commit
fced50667d
@ -1931,7 +1931,7 @@ void wxGenericTreeCtrl::SelectItem(const wxTreeItemId& itemId, bool select)
|
||||
{
|
||||
if ( select )
|
||||
{
|
||||
DoSelectItem(itemId);
|
||||
DoSelectItem(itemId, !HasFlag(wxTR_MULTIPLE));
|
||||
}
|
||||
else // deselect
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user