Update of /cvsroot/audacity/audacity-src/src In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv15738
Modified Files: TrackPanel.cpp Log Message: Protect when USE_MIDI not defined. Index: TrackPanel.cpp =================================================================== RCS file: /cvsroot/audacity/audacity-src/src/TrackPanel.cpp,v retrieving revision 1.404 retrieving revision 1.405 diff -u -d -r1.404 -r1.405 --- TrackPanel.cpp 12 Jul 2008 18:59:13 -0000 1.404 +++ TrackPanel.cpp 13 Jul 2008 03:17:17 -0000 1.405 @@ -6450,6 +6450,7 @@ /// whole sequence by an octave. void TrackPanel::OnChangeOctave(wxCommandEvent & event) { +#if defined(USE_MIDI) wxASSERT(event.GetId() == OnUpOctaveID || event.GetId() == OnDownOctaveID); wxASSERT(mPopupMenuTarget->GetKind() == Track::Note); @@ -6460,6 +6461,7 @@ MakeParentModifyState(); Refresh(false); +#endif } void TrackPanel::OnSetName(wxCommandEvent &event) ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Audacity-cvs mailing list Audacity-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/audacity-cvs