X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/251a8ce858c489c5955446e97d293cc8c02d6736..beb471b5e9c8e383d906d4234a809b6b3d2f7a0f:/src/common/string.cpp diff --git a/src/common/string.cpp b/src/common/string.cpp index 29d51e71b8..c43bde8e7d 100644 --- a/src/common/string.cpp +++ b/src/common/string.cpp @@ -1759,10 +1759,10 @@ wxString& wxString::replace(size_t nStart, size_t nLen, // ArrayString // ============================================================================ -#if !wxUSE_STL - #include "wx/arrstr.h" +#if !wxUSE_STL + // size increment = min(50% of current size, ARRAY_MAXSIZE_INCREMENT) #define ARRAY_MAXSIZE_INCREMENT 4096