From: Vadim Zeitlin Date: Mon, 20 Aug 2001 16:08:11 +0000 (+0000) Subject: fixed refresh problem after adding some items and calling Ensurevisible() X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ba7bd901502db16ac1ff00f8da84c5bcda8a7466 fixed refresh problem after adding some items and calling Ensurevisible() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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 */); }