X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fd3f01603a76423698214e20e7b3971138270e80..2b6d8c00fcbee0814d2a27f99409731940cf0a51:/src/common/string.cpp diff --git a/src/common/string.cpp b/src/common/string.cpp index 7fe2592efb..42863abaa8 100644 --- a/src/common/string.cpp +++ b/src/common/string.cpp @@ -1753,6 +1753,10 @@ wxString& wxString::replace(size_t nStart, size_t nLen, // ArrayString // ============================================================================ +#if !wxUSE_STL + +#include "wx/arrstr.h" + // size increment = min(50% of current size, ARRAY_MAXSIZE_INCREMENT) #define ARRAY_MAXSIZE_INCREMENT 4096 @@ -2181,6 +2185,8 @@ bool wxArrayString::operator==(const wxArrayString& a) const return TRUE; } +#endif // !wxUSE_STL + int wxStringSortAscending(wxString* s1, wxString* s2) { return wxStrcmp(s1->c_str(), s2->c_str());