1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-26 14:41:14 +01:00

Revert "Bug 1432 another case..." It's not safe for Windows...

... It made it possible to get into a state where some of the toolbars
stopped responding.

This reverts commit 67b858ed3f.
This commit is contained in:
Paul Licameli
2017-07-23 17:32:01 -04:00
parent 3b0a113525
commit 2f178db700

View File

@@ -2410,10 +2410,6 @@ void AudacityProject::OnActivate(wxActivateEvent & event)
return;
}
// Let the base class do what it wants...
wxFrame::OnActivate(event);
// ... but then we override its decisions about focus.
mActive = event.GetActive();
// Under Windows, focus can be "lost" when returning to
@@ -2445,6 +2441,7 @@ void AudacityProject::OnActivate(wxActivateEvent & event)
MacShowUndockedToolbars(true);
#endif
}
event.Skip();
}
bool AudacityProject::IsActive()