Feature #4025 2008-02-26 11:48

tiborgats

wxSmith - embedded images

When I choose an icon for a frame from file, it would be nice if there were a checkbox: "Embed image". If the user checks it, the generated C++ source should differ a little bit, and it includes the embedded images, like this:

#ifdef USE_STATIC_BITMAP #include "green.xpm" #include "red.xpm" #endif // USE_STATIC_BITMAP

So if I compile and link my program to be just one executable file, it will not want to load the images from external files upon execution.

Category
RAD
Status
Open
Close date
 
Assigned to
 
tiborgats 2008-02-26 12:12

And if not an .xpm file is given then it would be nice to generate automatically the .xpm file from the original .pgn or .ico, etc...