Author: manolo
Date: 2010-08-25 10:01:56 -0700 (Wed, 25 Aug 2010)
New Revision: 7689
Log:
Native file chooser-Mac OS X: fixed issue arising with OS 10.6

Modified:
   branches/branch-1.3/src/Fl_Native_File_Chooser_MAC.cxx

Modified: branches/branch-1.3/src/Fl_Native_File_Chooser_MAC.cxx
===================================================================
--- branches/branch-1.3/src/Fl_Native_File_Chooser_MAC.cxx      2010-08-25 
08:45:33 UTC (rev 7688)
+++ branches/branch-1.3/src/Fl_Native_File_Chooser_MAC.cxx      2010-08-25 
17:01:56 UTC (rev 7689)
@@ -548,6 +548,7 @@
     NSString *fname = nil;
     NSString *preset = nil;
     NSPopUpButton *popup = nil;
+    [(NSSavePanel*)_panel setAllowsOtherFileTypes:YES];
     if ( !(_options & SAVEAS_CONFIRM) ) {
       static FLsaveDelegate *saveDelegate = nil;
       if (saveDelegate == nil)saveDelegate = [[FLsaveDelegate alloc] init]; // 
not to be ever freed

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to