fix Remove() argument in the example (closes #10521)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -546,12 +546,14 @@ public:
|
|||||||
|
|
||||||
@code
|
@code
|
||||||
T *item = array[n];
|
T *item = array[n];
|
||||||
|
array.Remove(item);
|
||||||
delete item;
|
delete item;
|
||||||
array.Remove(n);
|
|
||||||
@endcode
|
@endcode
|
||||||
|
|
||||||
See also WX_CLEAR_ARRAY() macro which deletes all elements of a wxArray
|
See also WX_CLEAR_ARRAY() macro which deletes all elements of a wxArray
|
||||||
(supposed to contain pointers).
|
(supposed to contain pointers).
|
||||||
|
|
||||||
|
@see RemoveAt()
|
||||||
*/
|
*/
|
||||||
void Remove(T item);
|
void Remove(T item);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user