From 2efaf754519420bd5de4d11dbdd085ba88c63124 Mon Sep 17 00:00:00 2001 From: Francesco Montorsi Date: Fri, 6 Feb 2009 21:43:31 +0000 Subject: [PATCH] fix some typos (return types) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/dynarray.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/interface/wx/dynarray.h b/interface/wx/dynarray.h index b1808a7761..84c4e16e0a 100644 --- a/interface/wx/dynarray.h +++ b/interface/wx/dynarray.h @@ -553,7 +553,7 @@ public: See also WX_CLEAR_ARRAY() macro which deletes all elements of a wxArray (supposed to contain pointers). */ - Remove(T item); + void Remove(T item); /** Removes @a count elements starting at @a index from the array. When an @@ -571,7 +571,7 @@ public: See also WX_CLEAR_ARRAY() macro which deletes all elements of a wxArray (supposed to contain pointers). */ - RemoveAt(size_t index, size_t count = 1); + void RemoveAt(size_t index, size_t count = 1); //@} @@ -596,6 +596,7 @@ public: another, identical, element is in the array. */ int Index(T& item, bool searchFromEnd = false) const; + /** This version of Index() is for wxSortedArray only. @@ -604,7 +605,7 @@ public: @c wxNOT_FOUND is returned if the element is not found, otherwise the index of the element is returned. */ - const int Index(T& item) const; + int Index(T& item) const; /** Search for a place to insert @a item into the sorted array (binary -- 2.45.2