WxImageList
Jump to navigation
Jump to search
Known issues
on wxMSW
When you create an image list with wxMSW, you MUST define it's size and all the images you add in MUST have exactly the same dimension (neither smaller nor larger) otherwise the imagelist will be left empty and you'll gett error messages like "couldn't add an image to the image list"
this will fail :
wxImageList myList; myList.Add(myImage);
whereas this will work (assuming that myImage is 16x16):
wxImageList myList(16,16); myList.Add(myImage);