diff --git a/src/generic/datavgen.cpp b/src/generic/datavgen.cpp index 5c773a9f7a..7172780600 100644 --- a/src/generic/datavgen.cpp +++ b/src/generic/datavgen.cpp @@ -3723,8 +3723,10 @@ void wxDataViewMainWindow::OnMouse( wxMouseEvent &event ) if (!IsRowSelected(current)) { SelectAllRows(false); + const unsigned oldCurrent = m_currentRow; ChangeCurrentRow(current); SelectRow(m_currentRow,true); + RefreshRow(oldCurrent); SendSelectionChangedEvent(GetItemByRow( m_currentRow ) ); } }