1
0
Fork 0
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:
jules 2008-12-22 13:52:11 +00:00
parent 4a9cfdbe1e
commit 4caa499612
3 changed files with 10 additions and 0 deletions

View file

@ -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)

View file

@ -431,6 +431,9 @@ void MenuBarModel::setMacMainMenu (MenuBarModel* newMenuBarModel,
}
rebuildMainMenu (extraAppleMenuItems);
if (newMenuBarModel != 0)
newMenuBarModel->menuItemsChanged();
}
MenuBarModel* MenuBarModel::getMacMainMenu() throw()

View file

@ -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()