1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-25 16:48:44 +02:00

Clarify inheritance of MenuCommandHandler

This commit is contained in:
Paul Licameli 2018-10-23 04:59:32 -04:00
parent 8ca9edc2a4
commit b7f35609ad

View File

@ -16,6 +16,7 @@
#include <vector>
#include <wx/event.h>
#include "SelectedRegion.h"
#include "commands/CommandFunctors.h"
class AudacityProject;
class CommandContext;
@ -34,7 +35,9 @@ enum EffectType : int;
typedef wxString PluginID;
typedef wxArrayString PluginIDList;
struct MenuCommandHandler : public wxEvtHandler {
struct MenuCommandHandler final
: public CommandHandlerObject // MUST be the first base class!
{
MenuCommandHandler();
~MenuCommandHandler();