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

Modified:
   branches/branch-3.0/src/fltk3/cocoaNativeFileChooser.mm

Modified: branches/branch-3.0/src/fltk3/cocoaNativeFileChooser.mm
===================================================================
--- branches/branch-3.0/src/fltk3/cocoaNativeFileChooser.mm     2013-02-11 
12:11:30 UTC (rev 9819)
+++ branches/branch-3.0/src/fltk3/cocoaNativeFileChooser.mm     2013-02-11 
12:13:59 UTC (rev 9820)
@@ -615,6 +615,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