From 711a955ed656be92b0dec137eb9f9a82e1fc4cd5 Mon Sep 17 00:00:00 2001 From: "v.audacity" Date: Sat, 11 May 2013 21:22:55 +0000 Subject: [PATCH] Fix commit r12317 to build on Linux. Apply WXUNUSED a couple of places. --- src/import/Import.cpp | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/src/import/Import.cpp b/src/import/Import.cpp index c64a5521b..cd558b806 100644 --- a/src/import/Import.cpp +++ b/src/import/Import.cpp @@ -45,6 +45,7 @@ and ImportLOF.cpp. #include #include "../ShuttleGui.h" #include "../Audacity.h" +#include "../Project.h" #include "Import.h" #include "ImportPlugin.h" @@ -718,7 +719,7 @@ ImportStreamDialog::~ImportStreamDialog() } -void ImportStreamDialog::OnOk(wxCommandEvent &event) +void ImportStreamDialog::OnOk(wxCommandEvent & WXUNUSED(event)) { wxArrayInt selitems; int sels = StreamList->GetSelections(selitems); @@ -727,19 +728,8 @@ void ImportStreamDialog::OnOk(wxCommandEvent &event) EndModal( wxID_OK ); } -void ImportStreamDialog::OnCancel(wxCommandEvent &event) +void ImportStreamDialog::OnCancel(wxCommandEvent & WXUNUSED(event)) { EndModal( wxID_CANCEL ); } -// Indentation settings for Vim and Emacs and unique identifier for Arch, a -// version control system. Please do not modify past this point. -// -// Local Variables: -// c-basic-offset: 3 -// indent-tabs-mode: nil -// End: -// -// vim: et sts=3 sw=3 -// arch-tag: 702e6bd3-b26c-424f-9d6a-c88b565ea143 -