mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-13 15:17:42 +02: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 67b858ed3ff1c6c84fdb1b505e6ccb882471d6f6.
This commit is contained in:
parent
3b0a113525
commit
2f178db700
@ -2410,10 +2410,6 @@ void AudacityProject::OnActivate(wxActivateEvent & event)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Let the base class do what it wants...
|
|
||||||
wxFrame::OnActivate(event);
|
|
||||||
// ... but then we override its decisions about focus.
|
|
||||||
|
|
||||||
mActive = event.GetActive();
|
mActive = event.GetActive();
|
||||||
|
|
||||||
// Under Windows, focus can be "lost" when returning to
|
// Under Windows, focus can be "lost" when returning to
|
||||||
@ -2445,6 +2441,7 @@ void AudacityProject::OnActivate(wxActivateEvent & event)
|
|||||||
MacShowUndockedToolbars(true);
|
MacShowUndockedToolbars(true);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
event.Skip();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool AudacityProject::IsActive()
|
bool AudacityProject::IsActive()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user