mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Remove the recently added shouldReleaseFocusOnMainMenuBarAccess flag and replace with something less intrusive
This commit is contained in:
parent
ec9c033cdf
commit
b936786f80
10 changed files with 69 additions and 46 deletions
|
|
@ -82,3 +82,12 @@ void MenuBarModel::applicationCommandListChanged()
|
|||
{
|
||||
menuItemsChanged();
|
||||
}
|
||||
|
||||
void MenuBarModel::handleMenuBarActivate (bool isActive)
|
||||
{
|
||||
menuBarActivated (isActive);
|
||||
listeners.call (&MenuBarModel::Listener::menuBarActivated, this, isActive);
|
||||
}
|
||||
|
||||
void MenuBarModel::menuBarActivated (bool) {}
|
||||
void MenuBarModel::Listener::menuBarActivated (MenuBarModel*, bool) {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue