diff options
| author | Manolo Gouy <Manolo> | 2014-04-27 14:14:23 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2014-04-27 14:14:23 +0000 |
| commit | 6d3bb5f75436650d0c647e619dc6a534df131cb1 (patch) | |
| tree | fedac4ee067e6f7ea73d684203858137b2cd90dc | |
| parent | 6c92cc9a8d7e5b3aa90e3b4541201dbbd4ef3fc4 (diff) | |
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
| -rw-r--r-- | src/Fl_cocoa.mm | 2 |
1 files changed, 1 insertions, 1 deletions
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]; } |
