git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@283
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
*/
int Index(long lItem, bool bFromEnd = FALSE) const;
/// search for an item using binary search in a sorted array
- int Index(long lItem, CMPFUNC fnCompare);
+ int Index(long lItem, CMPFUNC fnCompare) const;
/// add new element at the end
void Add(long lItem);
/// add item assuming the array is sorted with fnCompare function
void SetLine(LineList *pLine);
};
-protected:
class ConfigGroup
{
private:
}
// search for an item in a sorted array (binary search)
-int wxBaseArray::Index(long lItem, CMPFUNC fnCompare)
+int wxBaseArray::Index(long lItem, CMPFUNC fnCompare) const
{
uint i,
lo = 0,