From: Stefan Csomor Date: Sat, 10 Jan 2009 18:52:54 +0000 (+0000) Subject: calling superclass impl, see #10361 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7712257ef218b93aaa31b6512800ffd7558ffc3c calling superclass impl, see #10361 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/osx/checklst_osx.cpp b/src/osx/checklst_osx.cpp index 574d9ecf83..b420d6d3ec 100644 --- a/src/osx/checklst_osx.cpp +++ b/src/osx/checklst_osx.cpp @@ -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(); }