X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4b26b60fac70f89cf33935f78469e27536d8b614..f65a450a11e8429cdd6ba252bb0ab1beb89af6ee:/src/mac/choice.cpp?ds=sidebyside diff --git a/src/mac/choice.cpp b/src/mac/choice.cpp index 86d75eb0da..fdd9b43da6 100644 --- a/src/mac/choice.cpp +++ b/src/mac/choice.cpp @@ -105,7 +105,7 @@ void wxChoice::Delete(int n) delete GetClientObject(n); } ::DeleteMenuItem( MAC_WXHMENU(m_macPopUpMenuHandle) , n + 1) ; - m_strings.Remove( n ) ; + m_strings.RemoveAt( n ) ; m_datas.RemoveAt( n ) ; SetControl32BitMaximum( (ControlHandle) m_macControl , GetCount()) ; }