Alloc() doesn't clear the array any more, for consistency with reserve()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-10-28 14:16:20 +00:00
parent 84498436c9
commit 7788fc4046
5 changed files with 21 additions and 20 deletions

View File

@@ -493,7 +493,8 @@ append a lot of items.
Preallocates memory for a given number of array elements. It is worth calling
when the number of items which are going to be added to the array is known in
advance because it will save unneeded memory reallocation. If the array already
has enough memory for the given number of items, nothing happens.
has enough memory for the given number of items, nothing happens. In any case,
the existing contents of the array is not modified.
\membersection{wxArray::Clear}\label{wxarrayclear}