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:
@@ -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
|
||||||
|
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user