March 20, 2026
3 a.m.
Some applications mistakenly use a very large initial image count. On Windows, there is no limit on how large an imagelist can be. This makes sure that the GDI handle limit will be reached before hitting the imagelist limit. Supersedes https://gitlab.winehq.org/wine/wine/-/merge_requests/10059 -- v2: comctl32/imagelist: Limit the initial image count. https://gitlab.winehq.org/wine/wine/-/merge_requests/10382