1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-15 17:11:20 +01:00

Fix some MSVC warnings.

This commit is contained in:
James Crook
2018-03-02 12:02:23 +00:00
parent 29b214367d
commit 6509947de8
4 changed files with 6 additions and 31 deletions

View File

@@ -903,33 +903,10 @@ void EditChainsDialog::OnRename(wxCommandEvent & WXUNUSED(event))
/// An item in the list has been selected.
/// Bring up a dialog to allow its parameters to be edited.
void EditChainsDialog::OnCommandActivated(wxListEvent &event)
void EditChainsDialog::OnCommandActivated(wxListEvent & WXUNUSED(event))
{
wxCommandEvent dummy;
OnEditCommandParams( dummy );
#if 0
int item = event.GetIndex();
BatchCommandDialog d(this, wxID_ANY);
d.SetCommandAndParams(mBatchCommands.GetCommand(item),
mBatchCommands.GetParams(item));
if (!d.ShowModal()) {
return;
}
mBatchCommands.DeleteFromChain(item);
mBatchCommands.AddToChain(d.mSelectedCommand,
d.mSelectedParameters,
item);
mChanged = true;
mSelectedCommand = item;
PopulateList();
#endif
}
///