DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New] Link: http://www.fltk.org/str.php?L2546 Version: 1.3.0 Add an image to a button in an fluid example. Create code from fluid. Compile it for target. static Fl_JPEG_Image image_flag_gb("flag_gb.jpg", idata_flag_gb); Fl_JPEG_Image(const char *name, const unsigned char *data); Now an array to char data is an unsigned char const * (pointer read right to left in K&R, so this means in english A pointer which is constant pointing to chars which are unsigned Which the compiler identifies properly, but the fltk C++ class is written for a "const unsigned char *data" Which in english menas a pointer to unsigned chars which are constant diffrent thing ! Link: http://www.fltk.org/str.php?L2546 Version: 1.3.0 _______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
