diff --git a/src/mac/carbon/choice.cpp b/src/mac/carbon/choice.cpp index 86d75eb0da..fdd9b43da6 100644 --- a/src/mac/carbon/choice.cpp +++ b/src/mac/carbon/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()) ; } diff --git a/src/mac/carbon/menu.cpp b/src/mac/carbon/menu.cpp index 70ea0b4fba..83d1d2420a 100644 --- a/src/mac/carbon/menu.cpp +++ b/src/mac/carbon/menu.cpp @@ -755,7 +755,7 @@ wxMenu *wxMenuBar::Remove(size_t pos) Refresh(); } - m_titles.Remove(pos); + m_titles.RemoveAt(pos); return menu; } 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()) ; } diff --git a/src/mac/menu.cpp b/src/mac/menu.cpp index 70ea0b4fba..83d1d2420a 100644 --- a/src/mac/menu.cpp +++ b/src/mac/menu.cpp @@ -755,7 +755,7 @@ wxMenu *wxMenuBar::Remove(size_t pos) Refresh(); } - m_titles.Remove(pos); + m_titles.RemoveAt(pos); return menu; }