From 570a6d968a9289c8013a172dc7c6986518d1fe10 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 7 Aug 2013 11:08:17 +0000 Subject: [PATCH] Don't document wxSortedArrayString as deriving from wxArrayString. This is no longer the case since quite some time. Closes #15374. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/arrstr.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/interface/wx/arrstr.h b/interface/wx/arrstr.h index 836e8e9..d22f7a0 100644 --- a/interface/wx/arrstr.h +++ b/interface/wx/arrstr.h @@ -265,24 +265,21 @@ public: wxSortedArrayString is an efficient container for storing wxString objects which always keeps the string in alphabetical order. - wxSortedArrayString uses binary search in its wxArrayString::Index() function + wxSortedArrayString uses binary search in its wxSortedArrayString::Index() method (instead of linear search for wxArrayString::Index()) which makes it much more efficient if you add strings to the array rarely (because, of course, you have to pay for Index() efficiency by having Add() be slower) but search for them often. Several methods should not be used with sorted array (basically, all those which break the order of items) which is mentioned in their description. - @todo what about STL? who does it integrates? - @library{wxbase} @category{containers} @see wxArray, wxString, @ref overview_string */ -class wxSortedArrayString : public wxArrayString +class wxSortedArrayString : public wxArray { public: - /** Conversion constructor. -- 2.7.4