X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/49ecb02984b85a19fab294ac0ff0271bdb1d9ad1..b838cfc9151aea38402ad2b1ba5d2f97cf94e973:/src/generic/listctrl.cpp diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index 6f51132d16..3ca9aa51ac 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -4058,8 +4058,6 @@ void wxListMainWindow::EnsureVisible( long index ) // been added and its position is not known yet if ( m_dirty ) { - m_dirty = FALSE; - RecalculatePositions(TRUE /* no refresh */); }