DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New] Link: http://www.fltk.org/str.php?L2887 Version: 1.3-current Hi Christophe, Could you, please, change in file Fl_cocoa.mm the current function rect_to_NSBitmapImageRep() by this one static NSBitmapImageRep* rect_to_NSBitmapImageRep(Fl_Window *win, int x, int y, int w, int h) { while (win->window()) { x += win->x(); y += win->y(); win = win->window(); } NSRect rect = NSMakeRect(x, y, w, h); NSView *view = [Fl_X::i(win)->xid contentView]; NSBitmapImageRep* imagerep = [view bitmapImageRepForCachingDisplayInRect:rect]; [view cacheDisplayInRect:rect toBitmapImageRep:imagerep]; [imagerep retain]; return imagerep; } and report whether it solves the bug? Link: http://www.fltk.org/str.php?L2887 Version: 1.3-current _______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
