You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.5KB

  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.
  12. //
  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.
  17. //
  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.
  22. //
  23. // Please report all bugs and problems to:
  24. //
  25. // http://www.fltk.org/str.php
  26. //
  27. // Use Windows' chooser
  28. #ifdef WIN32
  29. #include "Fl_Native_File_Chooser_WIN32.cxx"
  30. #endif
  31. // Use Apple's chooser
  32. #ifdef __APPLE__
  33. #include <FL/Fl_Native_File_Chooser.H>
  34. #endif
  35. // All else falls back to FLTK's own chooser
  36. #if ! defined(__APPLE__) && !defined(WIN32)
  37. #include "Fl_Native_File_Chooser_FLTK.cxx"
  38. #endif
  39. const char *Fl_Native_File_Chooser::file_exists_message = "File exists. Are you sure you want to overwrite?";
  40. //
  41. // End of "$Id: Fl_Native_File_Chooser.cxx 8378 2011-02-05 22:35:51Z matt $".
  42. //