1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-12 06:37:52 +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

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