X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b1e4e7cc9624f20989abbd3d8c303062c34d8a5e..ec35ed7c1cddff0638eba60af28e69d1e6ab46a2:/src/common/string.cpp?ds=sidebyside 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