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