added wxArrayString::RemoveAt()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-01-04 19:42:22 +00:00
parent 6108b321fc
commit da2fd5acd8
2 changed files with 2 additions and 1 deletions

View File

@@ -1012,6 +1012,7 @@ public:
void Remove(const wxChar *sz); void Remove(const wxChar *sz);
// remove item by index // remove item by index
void Remove(size_t nIndex); void Remove(size_t nIndex);
void RemoveAt(size_t nIndex) { Remove(nIndex); }
// sorting // sorting
// sort array elements in alphabetical order (or reversed alphabetical // sort array elements in alphabetical order (or reversed alphabetical

View File

@@ -249,7 +249,7 @@ bool wxFileName::Normalize(wxPathNormalize flags,
{ {
curDir.AssignDir(wxGetUserHome(dir.c_str() + 1)); curDir.AssignDir(wxGetUserHome(dir.c_str() + 1));
dirs.Remove(0u); dirs.RemoveAt(0u);
} }
} }
} }