git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10924
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#include "wx/vector.h"
-#define WX_DECLARE_STL_STACK(obj, cls)\
+#define WX_DECLARE_STACK(obj, cls)\
class cls : public wxVectorBase\
{\
- WX_DECLARE_STL_VECTORBASE(obj, cls);\
+ WX_DECLARE_VECTORBASE(obj, cls);\
public:\
void push(const obj& o)\
{\
int capacity() const
{
- return m_size;
+ return m_capacity;
};
bool empty() const
#define WX_DECLARE_VECTOR(obj, cls)\
class cls : public wxVectorBase\
{\
- WX_DECLARE_STL_VECTORBASE(obj, cls);\
+ WX_DECLARE_VECTORBASE(obj, cls);\
public:\
void push_back(const obj& o)\
{\