mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-30 15:39:27 +02:00
Bug 1432 another case...
...Mac, drag toolbar with the focus on or off dock, won't lose focus. You still lose focus when dragging another bar to undocked.
This commit is contained in:
parent
68a0f29bc2
commit
67b858ed3f
@ -2410,6 +2410,10 @@ 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
|
||||
@ -2441,7 +2445,6 @@ void AudacityProject::OnActivate(wxActivateEvent & event)
|
||||
MacShowUndockedToolbars(true);
|
||||
#endif
|
||||
}
|
||||
event.Skip();
|
||||
}
|
||||
|
||||
bool AudacityProject::IsActive()
|
||||
|
Loading…
x
Reference in New Issue
Block a user