]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dynarray.h
Change default alignment to centre vertically
[wxWidgets.git] / include / wx / dynarray.h
index d165c3bc5ca8e4b47e062a866d80d02012a15627..535642547589d3dd1d41ec65aa5688ce625e73c4 100644 (file)
@@ -557,7 +557,8 @@ public:                                                                  \
                                                                          \
   ~name();                                                               \
                                                                          \
-  void Alloc(size_t count) { reserve(count); }                           \
+  void Alloc(size_t count) { base::reserve(count); }                     \
+  void reserve(size_t count) { base::reserve(count); }                   \
   size_t GetCount() const { return base_array::size(); }                 \
   size_t size() const { return base_array::size(); }                     \
   bool IsEmpty() const { return base_array::empty(); }                   \