Thanks, I already figured out:

FileIcon *icon = new FileIcon("butt", FileIcon::ANY);
icon->load("./back.png");
icon->value(but);

The problem was this: there was no linking with fltk2_image for this example.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to