[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU windres cannot compile BITMAP or OWNERDRAW menu items
From: |
Nick Clifton |
Subject: |
Re: GNU windres cannot compile BITMAP or OWNERDRAW menu items |
Date: |
Thu, 9 Jul 2020 13:43:15 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 |
Hi katahiromz,
> I'm using your resource compiler "windres".
> I found that windres cannot compile BITMAP or OWNERDRAW menu items.
Thank you for reporting this. In the future, please could you
report any binutils bugs via the bugzilla system here:
https://sourceware.org/bugzilla/enter_bug.cgi?product=binutils
In the meantime I have checked in the attached patch to fix the problem.
Cheers
Nick
binutils/ChangeLog
2020-07-09 Nick Clifton <nickc@redhat.com>
* rclex.c: Add OWNERDRAW keyword.
* rcparse.y: Add OWNERDRAW token.
(menuitem_flag) Add BITMAP and OWNERDRAW entries.
* rcparse.c: Regenerate.
* 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.
windres.patch
Description: Text Data