calling superclass impl, see #10361
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
6cd56f6e0f
commit
7712257ef2
@ -134,6 +134,8 @@ void wxCheckListBox::SetValueCallback( unsigned int n, wxListWidgetColumn* col ,
|
||||
|
||||
void wxCheckListBox::OnItemInserted(unsigned int pos)
|
||||
{
|
||||
wxListBox::OnItemInserted(pos);
|
||||
|
||||
m_checks.Insert(false, pos );
|
||||
}
|
||||
|
||||
@ -146,6 +148,8 @@ void wxCheckListBox::DoDeleteOneItem(unsigned int n)
|
||||
|
||||
void wxCheckListBox::DoClear()
|
||||
{
|
||||
wxListBox::DoClear();
|
||||
|
||||
m_checks.Empty();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user