Fixed compilation error and a stupid typo

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2002-03-17 00:19:43 +00:00
parent e095264892
commit f29c177351

View File

@ -834,9 +834,9 @@ void wxShape::NameRegions(const wxString& parentName)
buff.Empty();
wxShape *child = (wxShape *)node->Data();
if (parentName.Length() > 0)
buff << parentName << "." << i;
buff << parentName << "." << j;
else
buff << i;
buff << j;
child->NameRegions(buff);
node = node->Next();
j ++;