summaryrefslogtreecommitdiff
path: root/ld/ldwrite.c
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2003-06-28 02:37:43 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2003-06-28 02:37:43 +0000
commitbc870ceb4eaed5d1df4c7654525d152b261d6f08 (patch)
treec63593efeb4beb10680c31a2550c10fac166e8d5 /ld/ldwrite.c
parentbd798484ce27af77cbb7c0aa7983505b6d80edb5 (diff)
downloadbinutils-redhat-bc870ceb4eaed5d1df4c7654525d152b261d6f08.tar.gz
* rcparse.y (res_text_field): New res_id variable.
(res_null_text): New static const struct res_id object, with empty unicode name field. (control): Pop parsing of optresidc up one level. Set res_text_field to $2 except for controls which do not accept a text field. Set res_text_field to res_null_text for the special cases (viz. COMBOBOX, EDITTEXT, LISTBOX, SCROLLBAR). (control_params): Adjust to use res_text_field rather than optresidc. (COMBOBOX): Add comment about discrepency between documented vs. observed default style. * resrc.c (define_control): Make first param const. * windres.h (define_control): Adjust prototype. testsuite: * binutils-all/windres/checkbox.rc: New file. * binutils-all/windres/checkbox.rsd: New file. * binutils-all/windres/combobox.rc: New file. * binutils-all/windres/combobox.rsd: New file. * binutils-all/windres/edittext.rc: New file. * binutils-all/windres/edittext.rsd: New file. * binutils-all/windres/listbox.rc: New file. * binutils-all/windres/listbox.rsd: New file. * binutils-all/windres/scrollbar.rc: New file. * binutils-all/windres/scrollbar.rsd: New file.
Diffstat (limited to 'ld/ldwrite.c')
0 files changed, 0 insertions, 0 deletions