"Sergio Gómez Del Real" sergio.g.delreal@gmail.com writes:
Applications such as Fidibo (https://bugs.winehq.org/show_bug.cgi?id=43770) ask for the IDI_SHIELD OEM resource, for example by calling comctl32.LoadIconMetric. Because the resource doesn't exist in user32, the function returns error and, in the specific case of Fidibo, the application crashes. This patch adds to user32.rc the appropriate lines and adds the file oic_shield.svg, from which oic_shield.ico will be generated.
NOTE: Tango's public domain network-wireless-encrypted.svg file was used. Thanks to Alex Henrie for this.
To generate a proper icon, we'd need multiple scaled images for the various sizes, and bitmaps for low-color resolutions, with the labels expected by the buildimage script. You can check how this is done in oic_winlogo.svg.