X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fa776a5809134bcdc8fd9dfdbcaed751cc5cae5b..57d7f9888e18d350fb023fdccd39e0ab7a3bb8dd:/include/wx/vector.h?ds=sidebyside diff --git a/include/wx/vector.h b/include/wx/vector.h index 57543bd0c6..f8aa5625eb 100644 --- a/include/wx/vector.h +++ b/include/wx/vector.h @@ -132,7 +132,7 @@ public: }; #define WX_DECLARE_VECTORBASE(obj, cls)\ -private:\ +protected:\ virtual void Free(void *o)\ {\ delete (obj *) o;\ @@ -155,7 +155,7 @@ public:\ #define _WX_DECLARE_VECTOR(obj, cls, exp)\ class exp cls : public wxVectorBase\ {\ - WX_DECLARE_VECTORBASE(obj, cls);\ + WX_DECLARE_VECTORBASE(obj, cls)\ public:\ void push_back(const obj& o)\ {\