X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1c193821a999730fbf6a9bea83763f37daae68f1..d4cb34b02cdc1165d1dc511e310ed7f140cb1007:/src/common/string.cpp diff --git a/src/common/string.cpp b/src/common/string.cpp index 7ac3f254a2..c43bde8e7d 100644 --- a/src/common/string.cpp +++ b/src/common/string.cpp @@ -1017,7 +1017,7 @@ bool wxString::IsAscii() const { const wxChar *s = (const wxChar*) *this; while(*s){ - if(!wxIsascii(*s)) return(FALSE); + if(!isascii(*s)) return(FALSE); s++; } return(TRUE); @@ -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