git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38431
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// the beginning of the current line, changes inside the loop
- const wxChar *lineStart = str.begin();
- const wxChar * const end = str.end();
- for ( const wxChar *p = lineStart; p != end; p++ )
+ wxString::const_iterator lineStart = str.begin();
+ const wxString::const_iterator end = str.end();
+ for ( wxString::const_iterator p = lineStart; p != end; p++ )
{
const wxChar ch = *p;
switch ( ch )