]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/vector.h
added alpha channel support to wxDFB's wxBitmap
[wxWidgets.git] / include / wx / vector.h
index 57543bd0c653f331fa9e74c05200d6f43345f7d7..f8aa5625eb410384461db5c36cb7dfde6f7f1fb1 100644 (file)
@@ -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)\
     {\