From 9a91f593991360e7d5fe4700e4e276b7ff723ade Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 7 Dec 2018 04:16:29 +0100 Subject: [PATCH] Revert the change to RefreshRows() in a recent commit There doesn't seem to be any reason for this check to exist. --- src/generic/datavgen.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/generic/datavgen.cpp b/src/generic/datavgen.cpp index 34e6237a16..471ac78fc6 100644 --- a/src/generic/datavgen.cpp +++ b/src/generic/datavgen.cpp @@ -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);