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:
Vadim Zeitlin 2001-12-09 14:38:23 +00:00
parent 59a2e6354d
commit 607d9cfc56

View File

@ -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
// disabling some operations which are restricted to the items with
// 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