annotate src/s/aix4-1.h @ 19711:dc9694ee3f70

(init_menu_items): Disable code. (x_activate_menubar): New function. (initialize_frame_menubar): Pass in new param to set_frame_menubar. (get_frame_menubar_event): Check for the possibility of a menu-bar button. A menu-bar button is a caption on the menu bar with no submenu. (set_frame_menubar): Correctly handle menu-bar buttons. (add_menu_item): Equiv parameter send and paid attention to. (keymap_panes, list_of_panes): Use CreatePopupMenu. (single_keymap_panes): Use CreatePopupMenu. Send key descriptions to add_menu_item. (list_of_items): Use CreatePopupMenu. Send nil description to add_menu_item. (get_menu_event): Send keymap instead of menu to get_keymap_event. (Fx_popup_menu): Extra parameter to mouse_position_hook. Don't send address of menu to win32menu_show. (win32menu_show): Send message to call popup menu rather than trying directly. get_menu_event should take an address. Call eat_mouse_events in order to get rid of any extraneous mouse events. (list_of_panes): Only bring up one pane if the length of the list of panes is one. (single_keymap_panes): Fixed problem with 'descrip' lisp object not being protected properly (GCPRO). (get_single_keymap_event): Fixed problem with 'descrip' lisp object not being protected properly (GCPRO). (name_is_separator): New function. (list_of_panes): If a pane's name is empty ("") items are now placed in the main popup instead of a blank-named submenu. This seems to be an undocumented feature of x-popup-menu. (list_of_items): New argument HMENU. Use 1 and 0 instead of Qt and Qnil for enable in add_menu_item
author Geoff Voelker <voelker@cs.washington.edu>
date Wed, 03 Sep 1997 00:53:34 +0000
parents f36ca038d81e
children 0c55c5d71551
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10151
cb2401f4c61f Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 #define AIX4_1
cb2401f4c61f Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2
cb2401f4c61f Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3 #include "aix4.h"
10212
f13745ca9b4e *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 10151
diff changeset
4
12414
cbe404298013 (LIB_MOTIF): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 10224
diff changeset
5 /* olson@mcs.anl.gov says -li18n is needed by -lXm. */
14187
fb0b99d7038e (X11R5_INHIBIT_I18N): Add undef.
Richard M. Stallman <rms@gnu.org>
parents: 12902
diff changeset
6 #undef LIB_MOTIF
12414
cbe404298013 (LIB_MOTIF): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 10224
diff changeset
7 #define LIB_MOTIF -lXm -li18n
12462
5b4022385032 (sigsetmask): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 12414
diff changeset
8
12902
a94cc53e1f04 (sigsetmask, _setjmp, _longjmp): Delete undefs.
Richard M. Stallman <rms@gnu.org>
parents: 12536
diff changeset
9 #ifdef __GNUC__
a94cc53e1f04 (sigsetmask, _setjmp, _longjmp): Delete undefs.
Richard M. Stallman <rms@gnu.org>
parents: 12536
diff changeset
10 #undef _NO_PROTO
a94cc53e1f04 (sigsetmask, _setjmp, _longjmp): Delete undefs.
Richard M. Stallman <rms@gnu.org>
parents: 12536
diff changeset
11 #endif
14187
fb0b99d7038e (X11R5_INHIBIT_I18N): Add undef.
Richard M. Stallman <rms@gnu.org>
parents: 12902
diff changeset
12
14619
856299d6fef8 (C_DEBUG_SWITCH) [not __GNUC__]: New definition.
Karl Heuer <kwzh@gnu.org>
parents: 14187
diff changeset
13 /* For AIX, it turns out compiling emacs under AIX 3.2.4 REQUIRES "cc -g"
856299d6fef8 (C_DEBUG_SWITCH) [not __GNUC__]: New definition.
Karl Heuer <kwzh@gnu.org>
parents: 14187
diff changeset
14 because "cc -O" crashes. Under AIX 3.2.5, "cc -O" is required because
856299d6fef8 (C_DEBUG_SWITCH) [not __GNUC__]: New definition.
Karl Heuer <kwzh@gnu.org>
parents: 14187
diff changeset
15 "cc -g" crashes. Go figure. --floppy@merlin.mit.edu.
856299d6fef8 (C_DEBUG_SWITCH) [not __GNUC__]: New definition.
Karl Heuer <kwzh@gnu.org>
parents: 14187
diff changeset
16 4.1 seems to need -g again. -- larry@vaquita.mitra.com. */
14833
f36ca038d81e Comment change.
Richard M. Stallman <rms@gnu.org>
parents: 14744
diff changeset
17 /* David Edelsohn <dje@watson.ibm.com> says that this actually depends
f36ca038d81e Comment change.
Richard M. Stallman <rms@gnu.org>
parents: 14744
diff changeset
18 on the version of XLC, which can't be predicted from the system version.
f36ca038d81e Comment change.
Richard M. Stallman <rms@gnu.org>
parents: 14744
diff changeset
19 What a mess! */
14619
856299d6fef8 (C_DEBUG_SWITCH) [not __GNUC__]: New definition.
Karl Heuer <kwzh@gnu.org>
parents: 14187
diff changeset
20 #ifndef __GNUC__
856299d6fef8 (C_DEBUG_SWITCH) [not __GNUC__]: New definition.
Karl Heuer <kwzh@gnu.org>
parents: 14187
diff changeset
21 #undef C_DEBUG_SWITCH
856299d6fef8 (C_DEBUG_SWITCH) [not __GNUC__]: New definition.
Karl Heuer <kwzh@gnu.org>
parents: 14187
diff changeset
22 #undef C_OPTIMIZE_SWITCH
856299d6fef8 (C_DEBUG_SWITCH) [not __GNUC__]: New definition.
Karl Heuer <kwzh@gnu.org>
parents: 14187
diff changeset
23 #define C_DEBUG_SWITCH -g
856299d6fef8 (C_DEBUG_SWITCH) [not __GNUC__]: New definition.
Karl Heuer <kwzh@gnu.org>
parents: 14187
diff changeset
24 #endif
856299d6fef8 (C_DEBUG_SWITCH) [not __GNUC__]: New definition.
Karl Heuer <kwzh@gnu.org>
parents: 14187
diff changeset
25
14744
bbad6f06273a Comment change.
Richard M. Stallman <rms@gnu.org>
parents: 14713
diff changeset
26 /* The X internationalization stuff is still broken in AIX 4.1, so
bbad6f06273a Comment change.
Richard M. Stallman <rms@gnu.org>
parents: 14713
diff changeset
27 don't #undef X11R5_INHIBIT_I18N
bbad6f06273a Comment change.
Richard M. Stallman <rms@gnu.org>
parents: 14713
diff changeset
28 It still causes shift, ctrl, and alt to resend the last character,
bbad6f06273a Comment change.
Richard M. Stallman <rms@gnu.org>
parents: 14713
diff changeset
29 if it was a control character like tab, enter, backspace, or ESC.
bbad6f06273a Comment change.
Richard M. Stallman <rms@gnu.org>
parents: 14713
diff changeset
30 Bill_Mann @ PraxisInt.com */
14619
856299d6fef8 (C_DEBUG_SWITCH) [not __GNUC__]: New definition.
Karl Heuer <kwzh@gnu.org>
parents: 14187
diff changeset
31 /* #undef X11R5_INHIBIT_I18N */