diff options
author | Nick Clifton <nickc@redhat.com> | 2020-07-09 13:45:01 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2020-07-09 13:45:01 +0100 |
commit | d90171dec11cdde259564c1ca728043b7e82427e (patch) | |
tree | b5522fea01f73a63eb4209a628548caf29a1aa75 /binutils/windres.c | |
parent | e3fdc001d359d6bcd033c1276c772e72d3f49078 (diff) | |
download | gdb-d90171dec11cdde259564c1ca728043b7e82427e.zip gdb-d90171dec11cdde259564c1ca728043b7e82427e.tar.gz gdb-d90171dec11cdde259564c1ca728043b7e82427e.tar.bz2 |
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.
Diffstat (limited to 'binutils/windres.c')
-rw-r--r-- | binutils/windres.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/binutils/windres.c b/binutils/windres.c index 427e982..5c83dab 100644 --- a/binutils/windres.c +++ b/binutils/windres.c @@ -527,6 +527,8 @@ extended_menuitems (const rc_menuitem *menuitems) | MENUITEM_HELP | MENUITEM_INACTIVE | MENUITEM_MENUBARBREAK + | MENUITEM_BITMAP + | MENUITEM_OWNERDRAW | MENUITEM_MENUBREAK)) != 0) return 1; |