X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4676948b6814c97b93c431a8cbcd8c0352c87ba9..71bfb735084722f1d3564b93ba35104e5379a2a9:/src/common/string.cpp diff --git a/src/common/string.cpp b/src/common/string.cpp index 37bda6581e..c43bde8e7d 100644 --- a/src/common/string.cpp +++ b/src/common/string.cpp @@ -1013,10 +1013,6 @@ wxString::Replace(const wxChar *szOld, const wxChar *szNew, bool bReplaceAll) return uiCount; } -#ifdef __WXWINCE__ -inline int isascii(wxChar c) { return (c >= 0) && (c <=127); } -#endif - bool wxString::IsAscii() const { const wxChar *s = (const wxChar*) *this; @@ -1763,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