Update the Windows Resource compiler (windres) to support the OWNERDRAW and BITMAP...
authorNick Clifton <nickc@redhat.com>
Thu, 9 Jul 2020 12:45:01 +0000 (13:45 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 9 Jul 2020 12:45:01 +0000 (13:45 +0100)
commitd90171dec11cdde259564c1ca728043b7e82427e
treeb5522fea01f73a63eb4209a628548caf29a1aa75
parente3fdc001d359d6bcd033c1276c772e72d3f49078
Update the Windows Resource compiler (windres) to support the OWNERDRAW and BITMAP menuitem flags.

binutils* rclex.c: Add OWNERDRAW keyword.
* rcparse.y: Add OWNERDRAW token.
(menuitem_flag) Add BITMAP and OWNERDRAW entries.
* resrc.c (write_rc_menuitems): Add support for OWNERDRAW and
BITMAP flags.
* windres.c (extended_menuitems): Likewise.
* testsuite/binutils-all/windres/menuitem_flags.rc: New test.
binutils/ChangeLog
binutils/rclex.c
binutils/rcparse.y
binutils/resrc.c
binutils/testsuite/binutils-all/windres/menuitem_flags.rc [new file with mode: 0644]
binutils/windres.c