From 78b6897f856e868ca35729416272b09c2bae18cd Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Sat, 30 Jan 2021 20:44:31 -0500 Subject: [PATCH] Remove unused function --- src/commands/CommandContext.cpp | 4 ---- src/commands/CommandContext.h | 2 -- 2 files changed, 6 deletions(-) diff --git a/src/commands/CommandContext.cpp b/src/commands/CommandContext.cpp index 96f80cb5e..979543707 100644 --- a/src/commands/CommandContext.cpp +++ b/src/commands/CommandContext.cpp @@ -24,7 +24,6 @@ messaging from a command back to its invoker. #include "CommandContext.h" #include -#include #include #include #include @@ -87,9 +86,6 @@ void CommandContext::Progress( double d ) const pOutput->Progress( d ); } -AudacityApp * CommandContext::GetApp() const -{ return (AudacityApp *) wxTheApp;} - void CommandContext::StartArray() const { if( pOutput ) diff --git a/src/commands/CommandContext.h b/src/commands/CommandContext.h index 38f511347..e023995c0 100644 --- a/src/commands/CommandContext.h +++ b/src/commands/CommandContext.h @@ -15,7 +15,6 @@ #include "audacity/Types.h" class AudacityProject; -class AudacityApp; class wxEvent; class CommandOutputTargets; using CommandParameter = CommandID; @@ -55,6 +54,5 @@ public: const wxEvent *pEvt; int index; CommandParameter parameter; - AudacityApp *GetApp() const; }; #endif