Author: manolo
Date: 2011-09-22 04:45:51 -0700 (Thu, 22 Sep 2011)
New Revision: 9058
Log:
Mac OS: simplified use of #define MAC_OS_X_VERSION_10_x
Modified:
branches/branch-3.0/include/fltk3/osx.h
branches/branch-3.0/src/fltk3/cocoaNativeFileChooser.mm
Modified: branches/branch-3.0/include/fltk3/osx.h
===================================================================
--- branches/branch-3.0/include/fltk3/osx.h 2011-09-22 11:40:53 UTC (rev
9057)
+++ branches/branch-3.0/include/fltk3/osx.h 2011-09-22 11:45:51 UTC (rev
9058)
@@ -152,9 +152,6 @@
#endif // FL_LIBRARY || FLTK3_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-3.0/src/fltk3/cocoaNativeFileChooser.mm
===================================================================
--- branches/branch-3.0/src/fltk3/cocoaNativeFileChooser.mm 2011-09-22
11:40:53 UTC (rev 9057)
+++ branches/branch-3.0/src/fltk3/cocoaNativeFileChooser.mm 2011-09-22
11:45:51 UTC (rev 9058)
@@ -39,6 +39,7 @@
#include <fltk3/run.h>
+#include <fltk3/x.h>
#include <fltk3/NativeFileChooser.h>
#include <fltk3/FileChooser.h>
#include <fltk3/filename.h>
@@ -349,9 +350,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 fltk3::NativeFileChooser::get_saveas_basename(void) {
char *q = strdup( [[(NSSavePanel*)_panel filename] fileSystemRepresentation]
);
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit