From: Václav Slavík Date: Thu, 23 Aug 2007 12:40:32 +0000 (+0000) Subject: VC6 compilation fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f9bf06acdaa4917df9edf4bdceffc8c8639cb362?ds=sidebyside VC6 compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/vector.h b/include/wx/vector.h index 1132087a5e..3d983aab19 100644 --- a/include/wx/vector.h +++ b/include/wx/vector.h @@ -183,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) {