X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b1e4e7cc9624f20989abbd3d8c303062c34d8a5e..3dd570e5724a9c83d77a83c4612f5a7efe7463dc:/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