From 5af1531cd247912e41d443e16fdc8b9053245c04 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Mon, 17 Jan 2011 09:39:14 +0000 Subject: Fl_File_Chooser: removed the "Show hidden files" button for WIN32 where it's not relevant. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8286 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_File_Chooser2.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/Fl_File_Chooser2.cxx') diff --git a/src/Fl_File_Chooser2.cxx b/src/Fl_File_Chooser2.cxx index 1237735ed..72c4bd2e5 100644 --- a/src/Fl_File_Chooser2.cxx +++ b/src/Fl_File_Chooser2.cxx @@ -1150,8 +1150,9 @@ Fl_File_Chooser::rescan() // Build the file list... fileList->load(directory_, sort); +#ifndef WIN32 if (!show_hidden->value()) remove_hidden_files(); - +#endif // Update the preview box... update_preview(); } @@ -1176,8 +1177,9 @@ void Fl_File_Chooser::rescan_keep_filename() // Build the file list... fileList->load(directory_, sort); +#ifndef WIN32 if (!show_hidden->value()) remove_hidden_files(); - +#endif // Update the preview box... update_preview(); -- cgit v1.2.3