From: Václav Slavík Date: Sun, 27 Jul 2003 11:16:51 +0000 (+0000) Subject: compilation fix for BC++ X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7892b9436cc0f60e2dfe07b12a0b8803e123f4f4 compilation fix for BC++ git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/string.cpp b/src/common/string.cpp index 995433e317..f02faad0da 100644 --- a/src/common/string.cpp +++ b/src/common/string.cpp @@ -468,8 +468,6 @@ size_t wxStringBase::find(const wxChar* sz, size_t nStart, size_t n) const return find(wxStringBase(sz, n), nStart); } -// Gives a duplicate symbol (presumably a case-insensitivity problem) -#if !defined(__BORLANDC__) size_t wxStringBase::find(wxChar ch, size_t nStart) const { wxASSERT( nStart <= length() ); @@ -478,7 +476,6 @@ size_t wxStringBase::find(wxChar ch, size_t nStart) const return p == NULL ? npos : p - c_str(); } -#endif size_t wxStringBase::rfind(const wxStringBase& str, size_t nStart) const {