diff --git a/include/wx/arrstr.h b/include/wx/arrstr.h index 177a6db924..4e559f0fd6 100644 --- a/include/wx/arrstr.h +++ b/include/wx/arrstr.h @@ -15,8 +15,8 @@ #include "wx/defs.h" #include "wx/string.h" -int WXDLLIMPEXP_BASE wxStringSortAscending(wxString*, wxString*); -int WXDLLIMPEXP_BASE wxStringSortDescending(wxString*, wxString*); +WXDLLIMPEXP_BASE int wxStringSortAscending(wxString*, wxString*); +WXDLLIMPEXP_BASE int wxStringSortDescending(wxString*, wxString*); #if wxUSE_STL diff --git a/src/common/string.cpp b/src/common/string.cpp index 37bda6581e..964324306b 100644 --- a/src/common/string.cpp +++ b/src/common/string.cpp @@ -1763,10 +1763,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