X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d1f1e77a91f3d7e60470e50dc941fce6b813d11d..01802c507c5edd947eeae4c64de01f3337c8bb09:/docs/latex/wx/array.tex diff --git a/docs/latex/wx/array.tex b/docs/latex/wx/array.tex index 1bb7d0f338..c493cd1fb7 100644 --- a/docs/latex/wx/array.tex +++ b/docs/latex/wx/array.tex @@ -97,7 +97,7 @@ class MyDirectory // now that we have MyDirectory declaration in scope we may finish the // definition of ArrayOfDirectories -- note that this expands into some C++ // code and so should only be compiled once (i.e., don't put this in the -// header, but into a source file or you will get linkin errors) +// header, but into a source file or you will get linking errors) #include // this is a magic incantation which must be done! WX_DEFINE_OBJARRAY(ArrayOfDirectories); @@ -177,7 +177,7 @@ amount, but no more than some maximal number which is defined by ARRAY\_MAXSIZE\_INCREMENT constant. Of course, this may lead to some memory being wasted (ARRAY\_MAXSIZE\_INCREMENT in the worst case, i.e. 4Kb in the current implementation), so the \helpref{Shrink()}{wxarrayshrink} function is -provided to unallocate the extra memory. The \helpref{Alloc()}{wxarrayalloc} +provided to deallocate the extra memory. The \helpref{Alloc()}{wxarrayalloc} function can also be quite useful if you know in advance how many items you are going to put in the array and will prevent the array code from reallocating the memory more times than needed. @@ -485,7 +485,7 @@ Return the number of items in the array. \membersection{wxArray::Index}\label{wxarrayindex} -\func{int}{Index}{\param{T\& }{item}, \param{bool }{searchFromEnd = FALSE}} +\func{int}{Index}{\param{T\& }{item}, \param{bool }{searchFromEnd = false}} \func{int}{Index}{\param{T\& }{item}} @@ -526,7 +526,7 @@ between the overloaded versions of this function. \constfunc{bool}{IsEmpty}{\void} -Returns TRUE if the array is empty, FALSE otherwise. +Returns true if the array is empty, false otherwise. \membersection{wxArray::Item}\label{wxarrayitem}