MCPcopy Create free account
hub / github.com/audacity/audacity / FindItem

Function FindItem

src/prefs/PrefsDialog.cpp:96–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 5

FindItemMethod · 0.85
GetLocationMethod · 0.85
GetNameMethod · 0.85
GetStateMethod · 0.85
SelectMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected