Avoid clearing selection for mouse button up event which is not over an item, see #17547
This commit is contained in:
parent
3c4e29e0da
commit
e9fdda8638
@ -2457,7 +2457,7 @@ void wxListMainWindow::OnMouse( wxMouseEvent &event )
|
||||
evtCtx.SetEventObject(GetParent());
|
||||
GetParent()->GetEventHandler()->ProcessEvent(evtCtx);
|
||||
}
|
||||
else
|
||||
else if (event.LeftDown())
|
||||
{
|
||||
// reset the selection and bail out
|
||||
HighlightAll(false);
|
||||
|
Loading…
Reference in New Issue
Block a user