mirror of
https://github.com/fltk/fltk.git
synced 2026-06-09 02:12:04 +08:00
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
This commit is contained in:
+1
-1
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user