aboutsummaryrefslogtreecommitdiff
path: root/binutils/windres.h
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
commitb9ae04920ab4f0d0c10fad9dff55c4ca3e2d2251 (patch)
tree918a73ac0eae39204bb36020ad53b7c2a7d4b393 /binutils/windres.h
parent0b2828595e905458c688820815152abdb9fc7c6d (diff)
downloadgdb-b9ae04920ab4f0d0c10fad9dff55c4ca3e2d2251.zip
gdb-b9ae04920ab4f0d0c10fad9dff55c4ca3e2d2251.tar.gz
gdb-b9ae04920ab4f0d0c10fad9dff55c4ca3e2d2251.tar.bz2
* 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 'binutils/windres.h')
-rw-r--r--binutils/windres.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/windres.h b/binutils/windres.h
index a6c6ef7..52b53ca 100644
--- a/binutils/windres.h
+++ b/binutils/windres.h
@@ -814,7 +814,7 @@ extern void define_cursor
extern void define_dialog
PARAMS ((struct res_id, const struct res_res_info *, const struct dialog *));
extern struct dialog_control *define_control
- PARAMS ((struct res_id, unsigned long, unsigned long, unsigned long,
+ PARAMS ((const struct res_id, unsigned long, unsigned long, unsigned long,
unsigned long, unsigned long, unsigned long, unsigned long,
unsigned long));
extern struct dialog_control *define_icon_control