]> git.saurik.com Git - wxWidgets.git/commitdiff
oops, a typo in the last commit
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 9 Dec 2001 14:38:23 +0000 (14:38 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 9 Dec 2001 14:38:23 +0000 (14:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/treectlg.cpp

index ad9602c0b833c6685ec51d19d877054b79875e78..f33efdf928da0fd9a2c054b386a9e1bca7f1683d 100644 (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
     // 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
 }
 
 bool wxGenericTreeCtrl::IsExpanded(const wxTreeItemId& item) const