From 1007200e08c087adb550286d62b31f1d9d550824 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 2 Apr 2012 16:07:41 +0000 Subject: [PATCH] Fix wxArrayString::Item() and Last() documentation. Document both const and non-const versions of the methods. Closes #14173. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/arrstr.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/interface/wx/arrstr.h b/interface/wx/arrstr.h index 3708c54635..2a00a1b03a 100644 --- a/interface/wx/arrstr.h +++ b/interface/wx/arrstr.h @@ -160,14 +160,20 @@ public: @see operator[] for the operator version. */ - wxString& Item(size_t nIndex) const; + //@{ + wxString& Item(size_t nIndex); + const wxString& Item(size_t nIndex) const; + //@} /** Returns the last element of the array. Attempt to access the last element of an empty array will result in assert failure in debug build, however no checks are done in release mode. */ - wxString& Last() const; + //@{ + wxString& Last(); + const wxString& Last() const; + //@} /** Removes the first item matching this value. An assert failure is provoked by