From: Vadim Zeitlin Date: Sun, 9 Dec 2001 14:38:23 +0000 (+0000) Subject: oops, a typo in the last commit X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/607d9cfc56a56a4388a1a3427d3fa9352387c1bc oops, a typo in the last commit git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/treectlg.cpp b/src/generic/treectlg.cpp index ad9602c0b8..f33efdf928 100644 --- a/src/generic/treectlg.cpp +++ b/src/generic/treectlg.cpp @@ -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