added wxTLS_TYPE() macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -58,6 +58,10 @@
|
||||
//According to STL _must_ be a -1 size_t
|
||||
const size_t wxString::npos = (size_t) -1;
|
||||
|
||||
#if wxUSE_UNICODE_UTF8
|
||||
wxString::PosToImplCache wxString::ms_cache;
|
||||
#endif // wxUSE_UNICODE_UTF8
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// global functions
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -1237,6 +1241,8 @@ size_t wxString::Replace(const wxString& strOld,
|
||||
wxCHECK_MSG( !strOld.empty(), 0,
|
||||
_T("wxString::Replace(): invalid parameter") );
|
||||
|
||||
wxSTRING_INVALIDATE_INDEX_CACHE();
|
||||
|
||||
size_t uiCount = 0; // count of replacements made
|
||||
|
||||
// optimize the special common case: replacement of one character by
|
||||
|
||||
Reference in New Issue
Block a user