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:
parent
8935fa106f
commit
b33d3516f0
@ -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();
|
||||
|
||||
|
@ -371,7 +371,7 @@ public:
|
||||
|
||||
|
||||
private:
|
||||
void OnCapture(wxCommandEvent & evt);
|
||||
void OnRecordStartStop(wxCommandEvent & evt);
|
||||
void OnPaint(wxPaintEvent &evt);
|
||||
void OnSize(wxSizeEvent &evt);
|
||||
void UpdateRects();
|
||||
|
Loading…
x
Reference in New Issue
Block a user