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:
parent
149f94f9fc
commit
098400ef31
5 changed files with 7 additions and 29 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue