use method call instead of propert set on NSSavePanel

svn: r12645
This commit is contained in:
Matthew Flatt 2008-11-30 12:49:08 +00:00
parent d351d796ee
commit 0f43e934a7

View File

@ -29,7 +29,7 @@ void wx_set_nav_file_types(NavDialogRef dlg, int cnt, char **exts, char *def_ext
a = [NSArray arrayWithObjects:objs count:j];
[sp setAllowedFileTypes:a];
sp.canSelectHiddenExtension = TRUE;
[sp setCanSelectHiddenExtension:TRUE];
if (!allow_others)
sp.allowsOtherFileTypes = FALSE;