On Aug 21, 2007, at 7:47 PM, rogx.libero wrote: > I'm using Fl_File_Chooser for loading images. > > The first time it's ok, but if I edit the image and save it with > the same > name, and then i try to reload it, I load the old one (also I see > the old one in the preview). > > I have tried to use rescan(), but the problem remain!
If you load the image based on the Fl_Shared_Image class, you must call myImage->release(), or myImage->reload(). If you use an Fl_Image derived class (Fl_JPEG_Image for example), deleting the image should suffice. ---- http://robowerk.com/ _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

