1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-20 17:41:13 +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();