Reduce the scope of variables using to index single loop only.

And adjust their types if necessary.
This commit is contained in:
Artur Wieczorek
2015-06-06 17:55:39 +02:00
parent 213df7dd88
commit 06013ea36f
6 changed files with 18 additions and 31 deletions

View File

@@ -862,8 +862,7 @@ void wxPropertyGridManager::Clear()
m_pPropGrid->Freeze();
int i;
for ( i=(int)GetPageCount()-1; i>=0; i-- )
for ( int i=(int)GetPageCount()-1; i>=0; i-- )
RemovePage(i);
m_pPropGrid->Thaw();