| 250 | } |
| 251 | |
| 252 | void _SelectTree(HTREEITEM hItem, HTREEITEM hGoal, int action) |
| 253 | { |
| 254 | if( !_SelectTreeSub(hItem, hGoal, action) ) |
| 255 | return; |
| 256 | hItem = GetParentItem(hItem); |
| 257 | while( (hItem = GetNextSiblingItem(hItem)) != NULL ) |
| 258 | { |
| 259 | if( !_SelectTreeSub(hItem, hGoal, action) ) |
| 260 | return; |
| 261 | } |
| 262 | } |
| 263 | |
| 264 | bool _SelectTreeSub(HTREEITEM hItem, HTREEITEM hGoal, int action) |
| 265 | { |
no test coverage detected