1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-21 22:12:58 +02:00

Replace more Connect with Bind; needed redeclaration of custom events

This commit is contained in:
Paul Licameli
2018-02-12 18:09:20 -05:00
parent e6e8e3251c
commit 2fbe04eda0
19 changed files with 68 additions and 81 deletions

View File

@@ -126,9 +126,8 @@ LyricsWindow::LyricsWindow(AudacityProject *parent):
//}
// Events from the project don't propagate directly to this other frame, so...
mProject->Connect(EVT_TRACK_PANEL_TIMER,
wxCommandEventHandler(LyricsWindow::OnTimer),
NULL,
mProject->Bind(EVT_TRACK_PANEL_TIMER,
&LyricsWindow::OnTimer,
this);
Center();
}