Reduce the scope of variables using to index single loop only.
And adjust their types if necessary.
This commit is contained in:
@@ -452,8 +452,7 @@ void wxPropertyGridInterface::DoSetPropertyAttribute( wxPGPropArg id, const wxSt
|
||||
|
||||
if ( argFlags & wxPG_RECURSE )
|
||||
{
|
||||
unsigned int i;
|
||||
for ( i = 0; i < p->GetChildCount(); i++ )
|
||||
for ( unsigned int i = 0; i < p->GetChildCount(); i++ )
|
||||
DoSetPropertyAttribute(p->Item(i), name, value, argFlags);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user