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:
parent
e0eeb9b3e7
commit
25dd56b1d3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user