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
This commit is contained in:
Vadim Zeitlin
2001-08-20 16:08:11 +00:00
parent 49ecb02984
commit ba7bd90150

View 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 */);
}