X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7093413895ea0c67d895951d06f2dbece363f809..0d91b2342a1f83b3b9db145c7210efd5d9547cc8:/src/common/treebase.cpp diff --git a/src/common/treebase.cpp b/src/common/treebase.cpp index 798ed50d47..bf992729d4 100644 --- a/src/common/treebase.cpp +++ b/src/common/treebase.cpp @@ -121,7 +121,7 @@ static void wxGetBestTreeSize(const wxTreeCtrlBase* treeCtrl, const wxTreeItemId wxTreeItemIdValue cookie; for ( wxTreeItemId item = treeCtrl->GetFirstChild(id, cookie); item.IsOk(); - item = treeCtrl->GetNextChild(item, cookie) ) + item = treeCtrl->GetNextChild(id, cookie) ) { wxGetBestTreeSize(treeCtrl, item, size); }