themes: Workaround for bug where a background color of RGB 0,0,0 in Black color schem...
[ntk.git] / src / Fl_Native_File_Chooser.cxx
blob1b3024f3c344ae86aa8ca438cdafe61c681e6a15
1 // "$Id: Fl_Native_File_Chooser.cxx 8378 2011-02-05 22:35:51Z matt $"
2 //
3 // FLTK native OS file chooser widget
4 //
5 // Copyright 1998-2010 by Bill Spitzak and others.
6 // Copyright 2004 Greg Ercolano.
7 //
8 // This library is free software; you can redistribute it and/or
9 // modify it under the terms of the GNU Library General Public
10 // License as published by the Free Software Foundation; either
11 // version 2 of the License, or (at your option) any later version.
13 // This library is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 // Library General Public License for more details.
18 // You should have received a copy of the GNU Library General Public
19 // License along with this library; if not, write to the Free Software
20 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
21 // USA.
23 // Please report all bugs and problems to:
25 // http://www.fltk.org/str.php
28 // Use Windows' chooser
29 #ifdef WIN32
30 #include "Fl_Native_File_Chooser_WIN32.cxx"
31 #endif
33 // Use Apple's chooser
34 #ifdef __APPLE__
35 #include <FL/Fl_Native_File_Chooser.H>
36 #endif
38 // All else falls back to FLTK's own chooser
39 #if ! defined(__APPLE__) && !defined(WIN32)
40 #include "Fl_Native_File_Chooser_FLTK.cxx"
41 #endif
43 const char *Fl_Native_File_Chooser::file_exists_message = "File exists. Are you sure you want to overwrite?";
46 // End of "$Id: Fl_Native_File_Chooser.cxx 8378 2011-02-05 22:35:51Z matt $".