Various small fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -570,7 +570,7 @@ wxTreeItemId wxTreeCtrl::GetLastChild(const wxTreeItemId& item) const
|
||||
wxCHECK_MSG( item.IsOk(), wxTreeItemId(), "invalid tree item" );
|
||||
|
||||
wxArrayTreeItems& children = item.m_pItem->GetChildren();
|
||||
return children.IsEmpty() ? wxTreeItemId() : children.Last();
|
||||
return (children.IsEmpty() ? wxTreeItemId() : wxTreeItemId(children.Last()));
|
||||
}
|
||||
|
||||
wxTreeItemId wxTreeCtrl::GetNextSibling(const wxTreeItemId& item) const
|
||||
|
Reference in New Issue
Block a user