From f9bf06acdaa4917df9edf4bdceffc8c8639cb362 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Thu, 23 Aug 2007 12:40:32 +0000 Subject: [PATCH] VC6 compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/vector.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) { -- 2.47.2