Fixed bug in wxListCtrl

Made wxMDIDocView work


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1998-07-28 22:08:36 +00:00
parent 32a4b1d57c
commit 9746a2ba50
11 changed files with 41 additions and 14 deletions

View File

@@ -1755,6 +1755,7 @@ void wxListMainWindow::DeleteItem( long index )
if (node)
{
wxListLineData *line = (wxListLineData*)node->Data();
if (m_current == line) m_current = NULL;
DeleteLine( line );
m_lines.DeleteNode( node );
};