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:
@@ -4420,7 +4420,10 @@ void wxListMainWindow::InsertItem( wxListItem &item )
|
|||||||
|
|
||||||
int mode = 0;
|
int mode = 0;
|
||||||
if ( HasFlag(wxLC_REPORT) )
|
if ( HasFlag(wxLC_REPORT) )
|
||||||
|
{
|
||||||
mode = wxLC_REPORT;
|
mode = wxLC_REPORT;
|
||||||
|
ResetVisibleLinesRange();
|
||||||
|
}
|
||||||
else if ( HasFlag(wxLC_LIST) )
|
else if ( HasFlag(wxLC_LIST) )
|
||||||
mode = wxLC_LIST;
|
mode = wxLC_LIST;
|
||||||
else if ( HasFlag(wxLC_ICON) )
|
else if ( HasFlag(wxLC_ICON) )
|
||||||
|
Reference in New Issue
Block a user