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:
parent
75ce058154
commit
2165ad93a2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user