From 7712257ef218b93aaa31b6512800ffd7558ffc3c Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sat, 10 Jan 2009 18:52:54 +0000 Subject: [PATCH] calling superclass impl, see #10361 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/osx/checklst_osx.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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(); } -- 2.47.2