1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-21 08:27:13 +01:00

ExtraMenus.cpp not link dependent on external sub-menu definitions...

... They use the registry
This commit is contained in:
Paul Licameli
2019-01-14 15:09:05 -05:00
parent de08d9ff86
commit 6225043ff3
11 changed files with 127 additions and 89 deletions

View File

@@ -1442,10 +1442,8 @@ AttachedItem sAttachment1{
wxT(""),
Shared( TracksMenu() )
};
}
// Under /MenuBar/Optional/Extra
MenuTable::BaseItemSharedPtr ExtraTrackMenu()
BaseItemSharedPtr ExtraTrackMenu()
{
static BaseItemSharedPtr menu{
( FinderScope{ findCommandHandler },
@@ -1497,4 +1495,11 @@ MenuTable::BaseItemSharedPtr ExtraTrackMenu()
return menu;
}
AttachedItem sAttachment2{
wxT("Optional/Extra/Part2"),
Shared( ExtraTrackMenu() )
};
}
#undef FN