X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0516de2cdb33937bab49c7b381cecd25c5e50ef2..7cec1c9e153bd1dca8c3f27353466762ae82c7f7:/include/wx/vector.h?ds=sidebyside diff --git a/include/wx/vector.h b/include/wx/vector.h index 74252da28e..3d983aab19 100644 --- a/include/wx/vector.h +++ b/include/wx/vector.h @@ -21,6 +21,8 @@ #else // !wxUSE_STL +#include "wx/utils.h" + template class wxVector { @@ -181,8 +183,9 @@ public: #endif // WXWIN_COMPATIBILITY_2_8 private: - static const size_type ALLOC_INITIAL_SIZE = 16; - static const size_type ALLOC_MAX_SIZE = 4096; + // VC6 can't compile static const int members + enum { ALLOC_INITIAL_SIZE = 16 }; + enum { ALLOC_MAX_SIZE = 4096 }; void Copy(const wxVector& vb) {