comparison src/w32menu.c @ 95735:bc8db28659e5

(digest_single_submenu): Declare extern.
author Juanma Barranquero <lekktu@gmail.com>
date Mon, 09 Jun 2008 23:48:12 +0000
parents 6488b258c0aa
children cf43f4e3ecc8
comparison
equal deleted inserted replaced
95734:9af235f0d5ec 95735:bc8db28659e5
104 void w32_free_menu_strings P_((HWND)); 104 void w32_free_menu_strings P_((HWND));
105 105
106 static int next_menubar_widget_id; 106 static int next_menubar_widget_id;
107 107
108 extern widget_value *xmalloc_widget_value P_ ((void)); 108 extern widget_value *xmalloc_widget_value P_ ((void));
109 extern widget_value *digest_single_submenu P_ ((int, int, int));
109 110
110 /* This is set nonzero after the user activates the menu bar, and set 111 /* This is set nonzero after the user activates the menu bar, and set
111 to zero again after the menu bars are redisplayed by prepare_menu_bar. 112 to zero again after the menu bars are redisplayed by prepare_menu_bar.
112 While it is nonzero, all calls to set_frame_menubar go deep. 113 While it is nonzero, all calls to set_frame_menubar go deep.
113 114
1259 1260
1260 For now, we'll just stick with menus for dialogs that are more 1261 For now, we'll just stick with menus for dialogs that are more
1261 complicated than simple yes/no type questions for which we can use 1262 complicated than simple yes/no type questions for which we can use
1262 the MessageBox function. 1263 the MessageBox function.
1263 */ 1264 */
1264 1265
1265 static char * button_names [] = { 1266 static char * button_names [] = {
1266 "button1", "button2", "button3", "button4", "button5", 1267 "button1", "button2", "button3", "button4", "button5",
1267 "button6", "button7", "button8", "button9", "button10" }; 1268 "button6", "button7", "button8", "button9", "button10" };
1268 1269
1269 static Lisp_Object 1270 static Lisp_Object