Remove unnecessary commented out test

This test remained since 902725eefe but
should have been simply removed back then, as we return if the item is
null due to a test above.

No real changes.
This commit is contained in:
Vadim Zeitlin
2020-03-16 00:24:03 +01:00
parent eaaad6471d
commit 2f05f5e2eb

View File

@@ -3790,8 +3790,7 @@ void wxGenericTreeCtrl::OnMouse( wxMouseEvent &event )
}
// this facilitates multiple-item drag-and-drop
if ( /* item && */ HasFlag(wxTR_MULTIPLE))
if ( HasFlag(wxTR_MULTIPLE))
{
wxArrayTreeItemIds selections;
size_t count = GetSelections(selections);