Revert the change to RefreshRows() in a recent commit

There doesn't seem to be any reason for this check to exist.
This commit is contained in:
Vadim Zeitlin
2018-12-07 04:16:29 +01:00
parent cee89508d3
commit 9a91f59399

View File

@@ -3300,9 +3300,6 @@ void wxDataViewMainWindow::SendSelectionChangedEvent( const wxDataViewItem& item
void wxDataViewMainWindow::RefreshRows( unsigned int from, unsigned int to )
{
if (from == to && from == ((unsigned)-1))
return;
wxRect rect = GetLinesRect(from, to);
m_owner->CalcScrolledPosition(rect.x, rect.y, &rect.x, &rect.y);