]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed compilation error and a stupid typo
authorRobin Dunn <robin@alldunn.com>
Sun, 17 Mar 2002 00:19:43 +0000 (00:19 +0000)
committerRobin Dunn <robin@alldunn.com>
Sun, 17 Mar 2002 00:19:43 +0000 (00:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/src/ogl/basic.cpp

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