// Modified by:
// Created: 30.07.2001
// Copyright: (c) 2001 Lindsay Mathieson <lindsay@mathieson.org>
-// Licence: wxWindows license
+// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
#ifndef _WX_VECTOR_H_
#include "wx/defs.h"
-class WXDLLEXPORT wxVectorBase
+class WXDLLIMPEXP_BASE wxVectorBase
{
public:
typedef size_t size_type;
wxVectorBase& operator = (const wxVectorBase& vb)
{
- bool rc = copy(vb);
- wxASSERT(rc);
+ wxCHECK(copy(vb), *this);
return *this;
}
};
cls() {}\
cls(const cls& c)\
{\
- bool rc = copy(c);\
- wxASSERT(rc);\
+ wxCHECK2(copy(c), return);\
}\
~cls()\
{\
public:\
void push_back(const obj& o)\
{\
- bool rc = Alloc(size() + 1);\
- wxASSERT(rc);\
+ wxCHECK2(Alloc(size() + 1), return);\
Append(new obj(o));\
};\
void pop_back()\