From e2ddb1715c659dac6b8e751c2b5a772e229ebf57 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Sun, 16 Jan 2011 18:26:51 +0000 Subject: Fl_File_Chooser: added a "Show hidden files" button. Hidden files aren't shown by default now. This removes a TODO clause. Fl_Native_File_Chooser: removed the hack that added the "Show hidden files" button, and made the "file already exists" warning message localizable. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8282 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Native_File_Chooser.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/Fl_Native_File_Chooser.cxx') diff --git a/src/Fl_Native_File_Chooser.cxx b/src/Fl_Native_File_Chooser.cxx index 02f3ab9c1..418120e19 100644 --- a/src/Fl_Native_File_Chooser.cxx +++ b/src/Fl_Native_File_Chooser.cxx @@ -32,7 +32,7 @@ // Use Apple's chooser #ifdef __APPLE__ -//#include "Fl_Native_File_Chooser_MAC.mm" +#include #endif // All else falls back to FLTK's own chooser @@ -40,6 +40,8 @@ #include "Fl_Native_File_Chooser_FLTK.cxx" #endif +const char *Fl_Native_File_Chooser::file_exists_message = "File exists. Are you sure you want to overwrite?"; + // // End of "$Id$". // -- cgit v1.2.3