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
This commit is contained in:
Manolo Gouy 2015-02-11 10:09:44 +00:00
parent 9cb0516301
commit eb82b2fb9a

View File

@ -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();