mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-22 00:47:13 +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,8 @@
|
||||
|
||||
#include "CellularPanel.h"
|
||||
|
||||
#include "commands/CommandManagerWindowClasses.h"
|
||||
|
||||
|
||||
class wxMenu;
|
||||
class wxRect;
|
||||
@@ -245,8 +247,10 @@ enum : int {
|
||||
};
|
||||
#endif
|
||||
|
||||
class AUDACITY_DLL_API TrackPanel final : public CellularPanel {
|
||||
|
||||
class AUDACITY_DLL_API TrackPanel final
|
||||
: public CellularPanel
|
||||
, public NonKeystrokeInterceptingWindow
|
||||
{
|
||||
public:
|
||||
TrackPanel(wxWindow * parent,
|
||||
wxWindowID id,
|
||||
|
||||
Reference in New Issue
Block a user