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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user