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 commitscbfde23and68e4bf6which added the #include directives
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user