mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-02 03:20:06 +00:00
Some workarounds for people still using the 10.5 SDK
This commit is contained in:
parent
795d4fe4dd
commit
7e8cc2734d
2 changed files with 3 additions and 1 deletions
|
|
@ -175,7 +175,7 @@ void FileChooser::showPlatformDialog (Array<File>& results,
|
|||
if ([panel runModal] == 1 /*NSModalResponseOK*/)
|
||||
#else
|
||||
if ([panel runModalForDirectory: juceStringToNS (directory)
|
||||
file: juceStringToNS (filename)] == NSModalResponseOK)
|
||||
file: juceStringToNS (filename)] == 1 /*NSModalResponseOK*/)
|
||||
#endif
|
||||
{
|
||||
if (isSaveDialogue)
|
||||
|
|
|
|||
|
|
@ -1794,7 +1794,9 @@ private:
|
|||
|
||||
static void windowDidExitFullScreen (id, SEL, NSNotification*)
|
||||
{
|
||||
#if defined (MAC_OS_X_VERSION_10_6) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6
|
||||
[NSApp setPresentationOptions: NSApplicationPresentationDefault];
|
||||
#endif
|
||||
}
|
||||
|
||||
static void zoom (id self, SEL, id sender)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue