Fix to remove CW/Mac warning

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-08-19 12:37:36 +00:00
parent 2202608853
commit 5751dd32c7

View File

@@ -859,10 +859,10 @@ private:
{ return const_reverse_iterator(NULL, GetFirst()); } \
void resize(size_type n, value_type v = value_type()) \
{ \
if(n < size()) \
for(; n < size(); pop_back()); \
else if(n > size()) \
for(; n > size(); push_back(v)); \
while (n < size()) \
pop_back(); \
while (n > size()) \
push_back(); \
} \
size_type size() const { return GetCount(); } \
size_type max_size() const { return INT_MAX; } \