changing to iterator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1078,7 +1078,7 @@ static wxString TranslateFromUnicodeFormat( const wxString& fmt)
|
||||
|
||||
wxChar chLast = _T('\0');
|
||||
size_t lastCount = 0;
|
||||
for ( const wxChar *p = fmt; /* NUL handled inside */; p++ )
|
||||
for ( wxString::const_iterator p = fmt.begin(); /* NUL handled inside */; p++ )
|
||||
{
|
||||
if ( *p == chLast )
|
||||
{
|
||||
@@ -1086,7 +1086,7 @@ static wxString TranslateFromUnicodeFormat( const wxString& fmt)
|
||||
continue;
|
||||
}
|
||||
|
||||
switch ( *p )
|
||||
switch ( (char) *p )
|
||||
{
|
||||
// these characters come in groups, start counting them
|
||||
case _T('d'):
|
||||
|
Reference in New Issue
Block a user