I have seen that wxBITMAP_TYPE_JPEG_RESOURCE has been declared in the gdicmn.h File as BitmapType enumeration.
So I have tried to use it to load a JPEG file embedded in the RCDATA resource without success
Code: Select all
LoadFile(wxT("image1"), wxBITMAP_TYPE_JPEG_RESOURCE);
So, what is the purpose of defining it ?, is it for future use ?
What is the proper/easy way of loading JPEG embedded files in RCDATA ?
Thank you for your help.