wxASSERT( nStart <= Len() );
}
- for ( const char *p = c_str() + length() - 1; p >= c_str(); p-- )
+ for ( const wxChar *p = c_str() + length() - 1; p >= c_str(); p-- )
{
if ( wxStrchr(sz, *p) )
return p - c_str();
wxASSERT( nStart <= Len() );
}
- size_t nAccept = strspn(c_str() + nStart, sz);
+ size_t nAccept = wxStrspn(c_str() + nStart, sz);
if ( nAccept >= length() - nStart )
return npos;
else
{
wxASSERT( nStart <= Len() );
- for ( const char *p = c_str() + nStart; *p; p++ )
+ for ( const wxChar *p = c_str() + nStart; *p; p++ )
{
if ( *p != ch )
return p - c_str();
wxASSERT( nStart <= Len() );
}
- for ( const char *p = c_str() + nStart - 1; p >= c_str(); p-- )
+ for ( const wxChar *p = c_str() + nStart - 1; p >= c_str(); p-- )
{
if ( !wxStrchr(sz, *p) )
return p - c_str();
wxASSERT( nStart <= Len() );
}
- for ( const char *p = c_str() + nStart - 1; p >= c_str(); p-- )
+ for ( const wxChar *p = c_str() + nStart - 1; p >= c_str(); p-- )
{
if ( *p != ch )
return p - c_str();