From a67e6e5438039aee7f0dd37acaea483037c89a62 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 3 Jun 2003 10:46:08 +0000 Subject: [PATCH] generate wxEVT_COMMAND_LIST_INSERT_ITEM (patch 747070) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/listctrl.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index bf85914d4c..cfd5dc91e2 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -4516,6 +4516,9 @@ void wxListMainWindow::InsertItem( wxListItem &item ) m_lines.Insert( line, id ); m_dirty = TRUE; + + SendNotify(id, wxEVT_COMMAND_LIST_INSERT_ITEM); + RefreshLines(id, GetItemCount() - 1); }