Hello! I find a very good feature in DialogBlocks - adding xrc resource as a zipped file name myproject.xrs, then I can load the myproject.xrc from it, after I did the needed wxFileSystem call. But I want to add my images in this way too, because compressed resource uses less hard-disk space. DialogBlocks added it to the xrs file, but I am unable to load it. wxXmlResource:LoadBitmap() doesn't work, if I use the filename as it's parameter. I checked the wx source, and I see it does something with nodes, so I assume it excepts the image inside the xrc file. DialogBlocks also writes C++ file for the xrc, I checked that, it writes something like this:
myApp::GetBitmapResource(wxString &name) { wxUnusedVar name; return wxNullBitmap; } Sorry if the code isn't 100% correct, I am not a C++ programmer, and the code isn't ahead me :) So, it returns with a nullbitmap... What should I do? Can I add the image into the xrc file? Or can I get them from the xrs file? Thanks for the replyes. Regards: Attila ------------------------------------------------------------------------------ _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users