[nfde] Update deprecated function and make library an object library

This commit is contained in:
2022-05-25 20:39:10 -05:00
parent f62d29a273
commit 246db22162
2 changed files with 2 additions and 2 deletions

View File

@@ -75,7 +75,7 @@ static void AddFilterListToDialog(NSSavePanel* dialog,
NSArray* allowedFileTypes = BuildAllowedFileTypes(filterList, filterCount);
// set it on the dialog
[dialog setAllowedFileTypes:allowedFileTypes];
[dialog setAllowedContentTypes:allowedFileTypes];
}
static void SetDefaultPath(NSSavePanel* dialog, const nfdnchar_t* defaultPath) {