changed Remove to RemoveAt

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2003-07-05 19:48:05 +00:00
parent 2bb1e1f476
commit 5fe384748c
4 changed files with 4 additions and 4 deletions

View File

@@ -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()) ;
}

View File

@@ -755,7 +755,7 @@ wxMenu *wxMenuBar::Remove(size_t pos)
Refresh();
}
m_titles.Remove(pos);
m_titles.RemoveAt(pos);
return menu;
}

View File

@@ -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()) ;
}

View File

@@ -755,7 +755,7 @@ wxMenu *wxMenuBar::Remove(size_t pos)
Refresh();
}
m_titles.Remove(pos);
m_titles.RemoveAt(pos);
return menu;
}