From 2cd31b57b27edc34515b11f4023201d96fec0b37 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 21 Feb 2000 14:19:02 +0000 Subject: [PATCH] a couple of wors about wxObjArray::Index() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/latex/wx/array.tex | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/latex/wx/array.tex b/docs/latex/wx/array.tex index 1122c22ff8..73f53089f1 100644 --- a/docs/latex/wx/array.tex +++ b/docs/latex/wx/array.tex @@ -477,6 +477,12 @@ Linear search is used for the wxArray and wxObjArray classes but binary search in the sorted array is used for wxSortedArray (this is why searchFromEnd parameter doesn't make sense for it). +{\bf NB:} even for wxObjArray classes, the operator==() of the elements in the +array is {\bf not} used by this function. It searches exactly the given +element in the array and so will only succeed if this element had been +previously added to the array, but fail even if another, identical, element is +in the array. + \membersection{wxArray::Insert}\label{wxarrayinsert} \func{void}{Insert}{\param{T }{item}, \param{size\_t }{n}} -- 2.45.2