diff options
| -rw-r--r-- | FL/mac.H | 3 | ||||
| -rw-r--r-- | src/Fl_Native_File_Chooser_MAC.mm | 4 |
2 files changed, 1 insertions, 6 deletions
@@ -138,9 +138,6 @@ extern Window fl_window; #endif // FL_LIBRARY || FL_INTERNALS -#ifndef MAC_OS_X_VERSION_10_3 -#define MAC_OS_X_VERSION_10_3 1030 -#endif #ifndef MAC_OS_X_VERSION_10_4 #define MAC_OS_X_VERSION_10_4 1040 #endif diff --git a/src/Fl_Native_File_Chooser_MAC.mm b/src/Fl_Native_File_Chooser_MAC.mm index c7e6e35ac..2aa48c2bf 100644 --- a/src/Fl_Native_File_Chooser_MAC.mm +++ b/src/Fl_Native_File_Chooser_MAC.mm @@ -30,6 +30,7 @@ #include <FL/Fl.H> +#include <FL/x.H> #include <FL/Fl_Native_File_Chooser.H> #include <FL/Fl_File_Chooser.H> #include <FL/filename.H> @@ -340,9 +341,6 @@ int Fl_Native_File_Chooser::filters() const { #import <Cocoa/Cocoa.h> #define UNLIKELYPREFIX "___fl_very_unlikely_prefix_" -#ifndef MAC_OS_X_VERSION_10_6 -#define MAC_OS_X_VERSION_10_6 1060 -#endif int Fl_Native_File_Chooser::get_saveas_basename(void) { char *q = strdup( [[(NSSavePanel*)_panel filename] fileSystemRepresentation] ); |
