1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

CommandManager, MenuManager don't use Lyrics.h, MixerBoard.h ...

... instead define new base classes in src/commands that those other
windows can inherit.  The classes have nothing but a virtual destructor.  This
lets CommandManager use dynamic_cast to detect the special windows.

See commits cbfde23 and 68e4bf6 which added the #include directives
This commit is contained in:
Paul Licameli
2018-12-28 11:49:35 -05:00
parent 1bcb7c20a5
commit 3dba70120c
13 changed files with 75 additions and 25 deletions

View File

@@ -24,6 +24,7 @@
#include "widgets/AButton.h"
#include "widgets/ASlider.h"
#include "widgets/wxPanelWrapper.h"
#include "commands/CommandManagerWindowClasses.h"
struct TrackListEvent;
@@ -260,7 +261,9 @@ public:
};
class MixerBoardFrame final : public wxFrame
class MixerBoardFrame final
: public wxFrame
, public TopLevelKeystrokeHandlingWindow
{
public:
MixerBoardFrame(AudacityProject* parent);