X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4b0bf080e13153e34236d97a2c00bda743131a63..39d0e65b6224f1307ede8a965eee122e707fd57e:/src/osx/combobox_osx.cpp?ds=sidebyside diff --git a/src/osx/combobox_osx.cpp b/src/osx/combobox_osx.cpp index 9a1f1b75e2..00a8e571fe 100644 --- a/src/osx/combobox_osx.cpp +++ b/src/osx/combobox_osx.cpp @@ -131,11 +131,13 @@ unsigned int wxComboBox::GetCount() const void wxComboBox::DoDeleteOneItem(unsigned int n) { + m_datas.RemoveAt(n); GetComboPeer()->RemoveItem(n); } void wxComboBox::DoClear() { + m_datas.Clear(); GetComboPeer()->Clear(); }