oops, a typo in the last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -886,7 +886,7 @@ bool wxGenericTreeCtrl::ItemHasChildren(const wxTreeItemId& item) const
|
|||||||
// could have them as well and it's better to err on this side rather than
|
// could have them as well and it's better to err on this side rather than
|
||||||
// disabling some operations which are restricted to the items with
|
// disabling some operations which are restricted to the items with
|
||||||
// children for an item which does have them
|
// children for an item which does have them
|
||||||
return !((wxGenericTreeItem*) item.m_pItem)->HasPlus();
|
return ((wxGenericTreeItem*) item.m_pItem)->HasPlus();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool wxGenericTreeCtrl::IsExpanded(const wxTreeItemId& item) const
|
bool wxGenericTreeCtrl::IsExpanded(const wxTreeItemId& item) const
|
||||||
|
Reference in New Issue
Block a user