Author: manolo
Date: 2013-02-11 04:11:30 -0800 (Mon, 11 Feb 2013)
New Revision: 9819
Log:
Mac OS save file dialog: display extension of preset file.

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

Modified: branches/branch-1.3/src/Fl_Native_File_Chooser_MAC.mm
===================================================================
--- branches/branch-1.3/src/Fl_Native_File_Chooser_MAC.mm       2013-02-09 
14:16:47 UTC (rev 9818)
+++ branches/branch-1.3/src/Fl_Native_File_Chooser_MAC.mm       2013-02-11 
12:11:30 UTC (rev 9819)
@@ -606,6 +606,7 @@
       char *t = prepareMacFilter(_filt_total, _filter, _filt_patt);
       popup = createPopupAccessory((NSSavePanel*)_panel, t, 
[[(NSSavePanel*)_panel nameFieldLabel] UTF8String], _filt_value);
       delete[] t;
+      [(NSSavePanel*)_panel setCanSelectHiddenExtension:YES];
     }
     retval = runmodal();
     if (_filt_total) {

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

Reply via email to