From 2c356747d9322f1f5dcdf8ca523096cf3ad5cdd2 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 12 Jan 1999 23:37:45 +0000 Subject: [PATCH] WX_CLEAR_ARRAY() now calls Empty() too git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/dynarray.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/wx/dynarray.h b/include/wx/dynarray.h index 0085620961..d1a4f020a6 100644 --- a/include/wx/dynarray.h +++ b/include/wx/dynarray.h @@ -428,6 +428,8 @@ WX_DEFINE_ARRAY(void *, wxArrayPtrVoid); { \ delete array[n]; \ } \ + \ + array.Empty(); \ } #endif // _DYNARRAY_H