| 586 | } |
| 587 | |
| 588 | void SelectionBar::OnFormatsChanged(ProjectNumericFormatsEvent evt) |
| 589 | { |
| 590 | auto &formats = ProjectNumericFormats::Get(mProject); |
| 591 | switch (evt.type) { |
| 592 | case ProjectNumericFormatsEvent::ChangedSelectionFormat: |
| 593 | return SetSelectionFormat(formats.GetSelectionFormat()); |
| 594 | default: |
| 595 | break; |
| 596 | } |
| 597 | } |
| 598 | |
| 599 | void SelectionBar::OnFocus(wxFocusEvent &event) |
| 600 | { |
nothing calls this directly
no test coverage detected