]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/ogl/basic.cpp
Use the OOR typemap for wxTreeCtrls too.
[wxWidgets.git] / 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 ++;