| 2269 | } |
| 2270 | |
| 2271 | void AdornedRulerPanel::ShowScrubMenu(const wxPoint & pos) |
| 2272 | { |
| 2273 | auto &scrubber = Scrubber::Get( *mProject ); |
| 2274 | PushEventHandler(&scrubber); |
| 2275 | auto cleanup = finally([this]{ PopEventHandler(); }); |
| 2276 | |
| 2277 | wxMenu rulerMenu; |
| 2278 | scrubber.PopulatePopupMenu(rulerMenu); |
| 2279 | BasicMenu::Handle{ &rulerMenu }.Popup( |
| 2280 | wxWidgetsWindowPlacement{ this }, |
| 2281 | { pos.x, pos.y } |
| 2282 | ); |
| 2283 | } |
| 2284 | |
| 2285 | void AdornedRulerPanel::DragSelection(AudacityProject &project) |
| 2286 | { |
nothing calls this directly
no test coverage detected