Send event on toggle deselecting
This commit is contained in:
@@ -1156,7 +1156,10 @@ bool wxListBox::PerformAction(const wxControlAction& action,
|
|||||||
item = m_current;
|
item = m_current;
|
||||||
|
|
||||||
if ( IsSelected(item) )
|
if ( IsSelected(item) )
|
||||||
|
{
|
||||||
DoUnselect(item);
|
DoUnselect(item);
|
||||||
|
SendEvent(wxEVT_LISTBOX);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
SelectAndNotify(item);
|
SelectAndNotify(item);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user