1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-09 06:06:24 +01:00

No more functor objects; all command handler functions take same args

This commit is contained in:
Paul Licameli
2017-08-19 10:15:32 -04:00
parent 77c392d29c
commit ab6de1181d
16 changed files with 596 additions and 681 deletions

View File

@@ -193,13 +193,13 @@ void ScrubbingToolBar::OnButton(wxCommandEvent &event)
switch (id) {
case STBScrubID:
scrubber.OnScrub();
scrubber.OnScrub(*p);
break;
case STBSeekID:
scrubber.OnSeek();
scrubber.OnSeek(*p);
break;
case STBRulerID:
scrubber.OnToggleScrubRuler();
scrubber.OnToggleScrubRuler(*p);
break;
default:
wxASSERT(false);