From 6d3bb5f75436650d0c647e619dc6a534df131cb1 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Sun, 27 Apr 2014 14:14:23 +0000 Subject: Fix STR#3063: compilation using Mac OS 10.4 (cont'd). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10128 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_cocoa.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index 958f5169e..20404d416 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -3527,7 +3527,7 @@ void Fl_Paged_Device::print_window(Fl_Window *win, int x_offset, int y_offset) if (x < x_offset+skip) x = x_offset+skip; NSRect r = {{x, y_offset+bt/2+4}, {win->w() - skip, bt}}; [[NSGraphicsContext currentContext] setShouldAntialias:YES]; - [title_s drawWithRect:r options:0 attributes:attr]; // 10.4 + [title_s drawWithRect:r options:(NSStringDrawingOptions)0 attributes:attr]; // 10.4 [[NSGraphicsContext currentContext] setShouldAntialias:NO]; [NSGraphicsContext setCurrentContext:current]; } -- cgit v1.2.3