mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-13 00:04:19 +00:00
couple of small mac fixes
This commit is contained in:
parent
4a9cfdbe1e
commit
4caa499612
3 changed files with 10 additions and 0 deletions
|
|
@ -231,6 +231,8 @@ bool File::isHidden() const throw()
|
|||
//==============================================================================
|
||||
const File File::getSpecialLocation (const SpecialLocationType type)
|
||||
{
|
||||
const ScopedAutoReleasePool pool;
|
||||
|
||||
const char* resultPath = 0;
|
||||
|
||||
switch (type)
|
||||
|
|
|
|||
|
|
@ -431,6 +431,9 @@ void MenuBarModel::setMacMainMenu (MenuBarModel* newMenuBarModel,
|
|||
}
|
||||
|
||||
rebuildMainMenu (extraAppleMenuItems);
|
||||
|
||||
if (newMenuBarModel != 0)
|
||||
newMenuBarModel->menuItemsChanged();
|
||||
}
|
||||
|
||||
MenuBarModel* MenuBarModel::getMacMainMenu() throw()
|
||||
|
|
|
|||
|
|
@ -264065,6 +264065,8 @@ bool File::isHidden() const throw()
|
|||
|
||||
const File File::getSpecialLocation (const SpecialLocationType type)
|
||||
{
|
||||
const ScopedAutoReleasePool pool;
|
||||
|
||||
const char* resultPath = 0;
|
||||
|
||||
switch (type)
|
||||
|
|
@ -267167,6 +267169,9 @@ void MenuBarModel::setMacMainMenu (MenuBarModel* newMenuBarModel,
|
|||
}
|
||||
|
||||
rebuildMainMenu (extraAppleMenuItems);
|
||||
|
||||
if (newMenuBarModel != 0)
|
||||
newMenuBarModel->menuItemsChanged();
|
||||
}
|
||||
|
||||
MenuBarModel* MenuBarModel::getMacMainMenu() throw()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue