| 94 | } |
| 95 | |
| 96 | wxTreeItemId FindItem( const wxTreeCtrl &ctrl, int nn ) |
| 97 | { |
| 98 | // The inverse of the function above |
| 99 | return VisitItems<wxTreeItemId>( ctrl, |
| 100 | [=]( wxTreeItemId itemId, unsigned position ){ |
| 101 | return std::make_pair( nn == position, itemId ); } ); |
| 102 | } |
| 103 | } |
| 104 | |
| 105 | // Define a custom class |
no outgoing calls
no test coverage detected