mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-06 14:52:34 +02:00
Implement "bring all to front" on Mac (really deminiaturizes all)...
... (which is not exactly the standard behavior.)
This commit is contained in:
parent
302ac247e1
commit
2beacb5396
@ -1036,12 +1036,12 @@ void AudacityProject::CreateMenusAndCommands()
|
||||
* window) full sized */
|
||||
c->AddItem(wxT("MacZoom"), _("&Zoom"), FN(OnMacZoom),
|
||||
wxT(""), NotMinimizedFlag, NotMinimizedFlag);
|
||||
#if 0
|
||||
c->AddSeparator();
|
||||
/* i18n-hint: Standard Macintosh Window menu item: Make all project
|
||||
* windows un-hidden */
|
||||
c->AddItem(wxT("MacBringAllToFront"),
|
||||
_("&Bring All to Front"), FN(OnMacBringAllToFront),
|
||||
wxT(""), AlwaysEnabledFlag, AlwaysEnabledFlag);
|
||||
#endif
|
||||
c->EndMenu();
|
||||
}
|
||||
#endif
|
||||
|
@ -72,4 +72,9 @@ void AudacityProject::OnMacZoom()
|
||||
|
||||
void AudacityProject::OnMacBringAllToFront()
|
||||
{
|
||||
// Reall this de-miniaturizes all, which is not exactly the standard
|
||||
// behavior.
|
||||
for (const auto project : gAudacityProjects) {
|
||||
project->Raise();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user