mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-07 12:12:23 +01:00
Fix midi-related compile problems in AudioIO and NoteTrack
The compilation was broken in67cec5abut fixed ined8c7fd. However, the warnings weren't fixed. The same general sign-related changes from67cec5awere applied, fixing several warnings. This also changes the arguments for NoteTrack's label click handler, to match the ones found in TrackPanel. That's needed to handle some other const-related changes. Additionally, EXPERIMENTAL_MIDI_PLAYBACK was changed to EXPERIMENTAL_MIDI_OUT in the documentation, as that is the correct name.
This commit is contained in:
@@ -239,7 +239,7 @@ void NoteTrack::WarpAndTransposeNotes(double t0, double t1,
|
||||
|
||||
|
||||
|
||||
int NoteTrack::DrawLabelControls(wxDC & dc, wxRect & r)
|
||||
int NoteTrack::DrawLabelControls(wxDC & dc, const wxRect &r)
|
||||
{
|
||||
int wid = 23;
|
||||
int ht = 16;
|
||||
@@ -328,7 +328,7 @@ int NoteTrack::DrawLabelControls(wxDC & dc, wxRect & r)
|
||||
return box.GetBottom();
|
||||
}
|
||||
|
||||
bool NoteTrack::LabelClick(wxRect & r, int mx, int my, bool right)
|
||||
bool NoteTrack::LabelClick(const wxRect &r, int mx, int my, bool right)
|
||||
{
|
||||
int wid = 23;
|
||||
int ht = 16;
|
||||
|
||||
Reference in New Issue
Block a user