]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/checklst_osx.cpp
Do not propagate key events from child controls unless they have modifiers
[wxWidgets.git] / src / osx / checklst_osx.cpp
index 574d9ecf83d4108c66390044a37c0886f24a8373..b420d6d3ecef822aa5d67c6c600798e9a00df364 100644 (file)
@@ -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();
 }