fix for bug introduced in GetNextChild() yesterday
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1091,7 +1091,7 @@ wxTreeItemId wxGenericTreeCtrl::GetNextChild(const wxTreeItemId& item,
|
|||||||
size_t *pIndex = (size_t *)&cookie;
|
size_t *pIndex = (size_t *)&cookie;
|
||||||
if ( *pIndex < children.Count() )
|
if ( *pIndex < children.Count() )
|
||||||
{
|
{
|
||||||
return children.Item(*pIndex++);
|
return children.Item((*pIndex)++);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user