delete now does remove the item in correct synch from m_datas and m_strings

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2001-06-09 09:11:45 +00:00
parent 53e3052c3c
commit 9dd11f90ad
2 changed files with 6 additions and 4 deletions

View File

@ -91,6 +91,7 @@ void wxChoice::Delete(int n)
::DeleteMenuItem( m_macPopUpMenuHandle , n + 1) ;
m_strings.Remove( n ) ;
m_datas.Remove( n ) ;
SetControlMaximum( m_macControl , Number()) ;
}

View File

@ -91,6 +91,7 @@ void wxChoice::Delete(int n)
::DeleteMenuItem( m_macPopUpMenuHandle , n + 1) ;
m_strings.Remove( n ) ;
m_datas.Remove( n ) ;
SetControlMaximum( m_macControl , Number()) ;
}