]> git.saurik.com Git - wxWidgets.git/commitdiff
fix for bug introduced in GetNextChild() yesterday
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 20 Jul 2003 20:52:32 +0000 (20:52 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 20 Jul 2003 20:52:32 +0000 (20:52 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/treectlg.cpp

index 86ec19c302c2800670db4ec7400c6c2d8259318d..89e2ff097ee4c3b04d2bda1784c95d9a0556fbf9 100644 (file)
@@ -1091,7 +1091,7 @@ wxTreeItemId wxGenericTreeCtrl::GetNextChild(const wxTreeItemId& item,
     size_t *pIndex = (size_t *)&cookie;
     if ( *pIndex < children.Count() )
     {
-        return children.Item(*pIndex++);
+        return children.Item((*pIndex)++);
     }
     else
     {