|
|
Author: manolo
Date: 2011-09-22 04:40:53 -0700 (Thu, 22 Sep 2011)
New Revision: 9057
Log:
Mac OS: simplified use of #define MAC_OS_X_VERSION_10_x
Modified:
branches/branch-1.3/FL/mac.H
branches/branch-1.3/src/Fl_Native_File_Chooser_MAC.mm
Modified: branches/branch-1.3/FL/mac.H
===================================================================
--- branches/branch-1.3/FL/mac.H 2011-09-22 09:08:57 UTC (rev 9056)
+++ branches/branch-1.3/FL/mac.H 2011-09-22 11:40:53 UTC (rev 9057)
@@ -138,9 +138,6 @@
#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
Modified: branches/branch-1.3/src/Fl_Native_File_Chooser_MAC.mm
===================================================================
--- branches/branch-1.3/src/Fl_Native_File_Chooser_MAC.mm 2011-09-22 09:08:57 UTC (rev 9056)
+++ branches/branch-1.3/src/Fl_Native_File_Chooser_MAC.mm 2011-09-22 11:40:53 UTC (rev 9057)
@@ -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 @@
#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] );
[ Direct Link to Message ] | |
|
| |