From eb82b2fb9acb1075cd02a175dc01ef8f41779b70 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Wed, 11 Feb 2015 10:09:44 +0000 Subject: Fixed change made at r.10560 that breaks compilation with old SDKs git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10572 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_cocoa.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index 1aff731a2..0e4ab5b80 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -4393,7 +4393,7 @@ void Fl_Paged_Device::print_window(Fl_Window *win, int x_offset, int y_offset) win->label(title); // put back the window title this->set_current(); // back to the Fl_Paged_Device if (img && to_quartz) { // print the title bar - CGRect rect = NSMakeRect(x_offset, y_offset, win->w(), bt); + CGRect rect = CGRectMake(x_offset, y_offset, win->w(), bt); Fl_X::q_begin_image(rect, 0, 0, win->w(), bt); CGContextDrawImage(fl_gc, rect, img); Fl_X::q_end_image(); -- cgit v1.2.3