Applied patch [ 617262 ] ListCtrl ResetVisibleLinesRange missing

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2002-10-02 14:03:43 +00:00
parent db2995da83
commit 8eca8095e4

View File

@@ -4420,7 +4420,10 @@ void wxListMainWindow::InsertItem( wxListItem &item )
int mode = 0;
if ( HasFlag(wxLC_REPORT) )
{
mode = wxLC_REPORT;
ResetVisibleLinesRange();
}
else if ( HasFlag(wxLC_LIST) )
mode = wxLC_LIST;
else if ( HasFlag(wxLC_ICON) )