mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-17 16:40:07 +02:00
Alternative Windows build fix, should fix the run too
This commit is contained in:
parent
79a4c519c0
commit
675f59b21f
@ -214,10 +214,16 @@ BaseItemSharedPtr ExtraDeviceMenu()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Under /MenuBar/Optional/Extra/Part2
|
// Under /MenuBar/Optional/Extra/Part2
|
||||||
BaseItemPtr ExtraMiscItems()
|
BaseItemSharedPtr ExtraMiscItems()
|
||||||
{
|
{
|
||||||
using Options = CommandManager::Options;
|
using Options = CommandManager::Options;
|
||||||
|
|
||||||
|
// Not a menu.
|
||||||
|
static BaseItemSharedPtr items{
|
||||||
|
Items( wxT("Misc"),
|
||||||
|
// Delayed evaluation
|
||||||
|
[]( AudacityProject &project ) {
|
||||||
|
|
||||||
static const auto key =
|
static const auto key =
|
||||||
#ifdef __WXMAC__
|
#ifdef __WXMAC__
|
||||||
wxT("Ctrl+/")
|
wxT("Ctrl+/")
|
||||||
@ -226,11 +232,6 @@ BaseItemPtr ExtraMiscItems()
|
|||||||
#endif
|
#endif
|
||||||
;
|
;
|
||||||
|
|
||||||
// Not a menu.
|
|
||||||
return (
|
|
||||||
Items( wxT("Misc"),
|
|
||||||
// Delayed evaluation
|
|
||||||
[]( AudacityProject &project ) {
|
|
||||||
return (
|
return (
|
||||||
FinderScope{ findCommandHandler },
|
FinderScope{ findCommandHandler },
|
||||||
// Accel key is not bindable.
|
// Accel key is not bindable.
|
||||||
@ -242,7 +243,8 @@ BaseItemPtr ExtraMiscItems()
|
|||||||
.wxTopLevelWindow::IsFullScreen(); } ) )
|
.wxTopLevelWindow::IsFullScreen(); } ) )
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
) );
|
) };
|
||||||
|
return items;
|
||||||
}
|
}
|
||||||
|
|
||||||
AttachedItem sAttachment2{
|
AttachedItem sAttachment2{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user