| 170 | } |
| 171 | |
| 172 | void GainCanvas::OnMouseLeftWindow(wxMouseEvent& event) { |
| 173 | InteractiveCanvas::OnMouseLeftWindow(event); |
| 174 | SetCursor(wxCURSOR_CROSS); |
| 175 | |
| 176 | for (auto gi : gainPanels) { |
| 177 | gi->setHighlightVisible(false); |
| 178 | } |
| 179 | |
| 180 | Refresh(); |
| 181 | } |
| 182 | |
| 183 | void GainCanvas::OnMouseEnterWindow(wxMouseEvent& event) { |
| 184 | InteractiveCanvas::mouseTracker.OnMouseEnterWindow(event); |
nothing calls this directly
no test coverage detected