From: Brian Macy Date: Tue, 18 May 1999 19:08:28 +0000 (+0000) Subject: Fixed some compile errors X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/25dd56b1d32f01cb770fbbeb50851c2814fd09a6 Fixed some compile errors git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/string.cpp b/src/common/string.cpp index 3c3e2b6d1e..c866ca4589 100644 --- a/src/common/string.cpp +++ b/src/common/string.cpp @@ -1451,8 +1451,8 @@ size_t wxString::rfind(wxChar ch, size_t nStart) const size_t wxString::find_first_of(const wxChar* sz, size_t nStart) const { - const char *start = c_str() + nStart; - char *firstOf = strpbrk(start, sz); + const wxChar *start = c_str() + nStart; + const wxChar *firstOf = wxStrpbrk(start, sz); if ( firstOf ) return firstOf - start; else