1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-06 15:19:29 +02:00

Rename a function in AdornedRulerPanel...

... Avoid confustion of "capture" meaning recording, with "capture" of the
mouse during drag
This commit is contained in:
Paul Licameli 2018-07-27 09:51:54 -04:00
parent 8935fa106f
commit b33d3516f0
2 changed files with 3 additions and 3 deletions

View File

@ -2035,7 +2035,7 @@ AdornedRulerPanel::AdornedRulerPanel(AudacityProject* project,
#endif
wxTheApp->Bind(EVT_AUDIOIO_CAPTURE,
&AdornedRulerPanel::OnCapture,
&AdornedRulerPanel::OnRecordStartStop,
this);
}
@ -2258,7 +2258,7 @@ void AdornedRulerPanel::RegenerateTooltips(StatusChoice choice)
#endif
}
void AdornedRulerPanel::OnCapture(wxCommandEvent & evt)
void AdornedRulerPanel::OnRecordStartStop(wxCommandEvent & evt)
{
evt.Skip();

View File

@ -371,7 +371,7 @@ public:
private:
void OnCapture(wxCommandEvent & evt);
void OnRecordStartStop(wxCommandEvent & evt);
void OnPaint(wxPaintEvent &evt);
void OnSize(wxSizeEvent &evt);
void UpdateRects();