1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Removed the Image::setPixelData method - this can be done with Image::BitmapData instead. OSX file chooser options change for aliased files.

This commit is contained in:
Julian Storer 2011-09-19 12:30:43 +01:00
parent 149f94f9fc
commit 098400ef31
5 changed files with 7 additions and 29 deletions

View file

@ -125,6 +125,7 @@ void FileChooser::showPlatformDialog (Array<File>& results,
[openPanel setCanChooseDirectories: selectsDirectory];
[openPanel setCanChooseFiles: selectsFiles];
[openPanel setAllowsMultipleSelection: selectMultipleFiles];
[openPanel setResolvesAliases: YES];
}
[panel setDelegate: delegate];
@ -156,6 +157,7 @@ void FileChooser::showPlatformDialog (Array<File>& results,
{
NSOpenPanel* openPanel = (NSOpenPanel*) panel;
NSArray* urls = [openPanel filenames];
for (unsigned int i = 0; i < [urls count]; ++i)
{
NSString* f = [urls objectAtIndex: i];