]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed refresh problem after adding some items and calling Ensurevisible()
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 20 Aug 2001 16:08:11 +0000 (16:08 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 20 Aug 2001 16:08:11 +0000 (16:08 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/listctrl.cpp

index 6f51132d161cefbe4ddec420ad3e57cd34a2dc03..3ca9aa51ac246068d14ce0ea51f89c1c82a66568 100644 (file)
@@ -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 */);
     }