undid changes accidentally committed as part of r55019

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-08-08 19:00:19 +00:00
parent 64a044d5a6
commit dd79ca2fd8
2 changed files with 118 additions and 426 deletions

View File

@@ -58,10 +58,6 @@
//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
// ----------------------------------------------------------------------------
@@ -1241,8 +1237,6 @@ 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