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
This commit is contained in:
parent
483b63b3a1
commit
1007200e08
@ -160,14 +160,20 @@ public:
|
|||||||
|
|
||||||
@see operator[] for the operator version.
|
@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
|
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
|
an empty array will result in assert failure in debug build, however no checks
|
||||||
are done in release mode.
|
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
|
Removes the first item matching this value. An assert failure is provoked by
|
||||||
|
Loading…
Reference in New Issue
Block a user