WX_CLEAR_ARRAY() now calls Empty() too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -428,6 +428,8 @@ WX_DEFINE_ARRAY(void *, wxArrayPtrVoid);
|
|||||||
{ \
|
{ \
|
||||||
delete array[n]; \
|
delete array[n]; \
|
||||||
} \
|
} \
|
||||||
|
\
|
||||||
|
array.Empty(); \
|
||||||
}
|
}
|
||||||
#endif // _DYNARRAY_H
|
#endif // _DYNARRAY_H
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user