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