Fixed some compile errors

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Brian Macy 1999-05-18 19:08:28 +00:00
parent e0eeb9b3e7
commit 25dd56b1d3

View File

@ -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