projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
More contrib compilation fixes & makefiles
[wxWidgets.git]
/
src
/
common
/
dynarray.cpp
diff --git
a/src/common/dynarray.cpp
b/src/common/dynarray.cpp
index bbf54265c431b7eb1d996e0b5a9e224e001a773d..5b4d11e9b9c5ef8a071123d16e53c5278eb4c77c 100644
(file)
--- a/
src/common/dynarray.cpp
+++ b/
src/common/dynarray.cpp
@@
-141,8
+141,6
@@
void wxBaseArray::Clear()
// pre-allocates memory (frees the previous data!)
void wxBaseArray::Alloc(size_t nSize)
{
- wxASSERT( nSize > 0 );
-
// only if old buffer was not big enough
if ( nSize > m_nSize ) {
wxDELETEA(m_pItems);