Returns the key for the given index
| 319 | // Returns the key for the given index |
| 320 | // |
| 321 | NormalizedKeyString |
| 322 | KeyView::GetKey(int index) const |
| 323 | { |
| 324 | // Make sure index is valid |
| 325 | if (index < 0 || index >= (int) mNodes.size()) |
| 326 | { |
| 327 | wxASSERT(false); |
| 328 | return {}; |
| 329 | } |
| 330 | |
| 331 | return mNodes[index].key; |
| 332 | } |
| 333 | |
| 334 | // |
| 335 | // Use to determine if a key can be assigned to the given index |
no test coverage detected