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:
@@ -463,11 +463,11 @@ wxTreeItemId wxTreeCtrl::GetLastChild(const wxTreeItemId& item) const
|
|||||||
long cookie;
|
long cookie;
|
||||||
|
|
||||||
wxTreeItemId childLast,
|
wxTreeItemId childLast,
|
||||||
child = GetFirstChild(last, cookie);
|
child = GetFirstChild(item, cookie);
|
||||||
while ( child.IsOk() )
|
while ( child.IsOk() )
|
||||||
{
|
{
|
||||||
childLast = child;
|
childLast = child;
|
||||||
child = GetNextChild(last, cookie);
|
child = GetNextChild(item, cookie);
|
||||||
}
|
}
|
||||||
|
|
||||||
return childLast;
|
return childLast;
|
||||||
|
Reference in New Issue
Block a user