compile fix (still not tested) for GetLastChild()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 1999-01-29 12:49:08 +00:00
parent 75ce058154
commit 2165ad93a2

View File

@ -463,11 +463,11 @@ wxTreeItemId wxTreeCtrl::GetLastChild(const wxTreeItemId& item) const
long cookie;
wxTreeItemId childLast,
child = GetFirstChild(last, cookie);
child = GetFirstChild(item, cookie);
while ( child.IsOk() )
{
childLast = child;
child = GetNextChild(last, cookie);
child = GetNextChild(item, cookie);
}
return childLast;