VC6 compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2007-08-23 12:40:32 +00:00
parent a220ccb313
commit f9bf06acda

View File

@@ -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)
{