X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2efaf754519420bd5de4d11dbdd085ba88c63124..574be073c070a9bbe81ad68e98187b0b9e82c2df:/interface/wx/dynarray.h?ds=sidebyside diff --git a/interface/wx/dynarray.h b/interface/wx/dynarray.h index 84c4e16e0a..6001afe745 100644 --- a/interface/wx/dynarray.h +++ b/interface/wx/dynarray.h @@ -546,12 +546,14 @@ public: @code T *item = array[n]; + array.Remove(item); delete item; - array.Remove(n); @endcode See also WX_CLEAR_ARRAY() macro which deletes all elements of a wxArray (supposed to contain pointers). + + @see RemoveAt() */ void Remove(T item);