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:
parent
53e3052c3c
commit
9dd11f90ad
@ -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()) ;
|
||||
}
|
||||
|
||||
|
@ -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()) ;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user