#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()\