I've found this while testing the fix for #26349, which was done by replacing the current listctrl sample files (.cpp and .h only) with the ones from v3.1.5, and while I don't care much about the deprecated wxImageList class, this seems to be serious: even for DPI-unaware programs (i.e. not using our manifest) its use is broken in 3.2 and later, the small icons are not displayed correctly at all:
Debugging this shows that this happens because the icon loaded from resources is actually 32x32 and not 16x16 as expected. I think this happens because LoadIcon() only loads images of the standard size — but how could this work before if this is the reason?
In any case, it would be nice to make this work at least as well/bad as before, i.e. upscaling the icons, instead of breaking any code using wxImageList completely in high DPI.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()