comparison src/toolbar-msw.c @ 1130:ccd0667b4764

[xemacs-hg @ 2002-11-30 08:10:24 by ben] To: xemacs-patches@xemacs.org eval.c: Fix up C debugger entrance -- first output the error message, then stack trace, then exiting message, then force debugger. frame-msw.c: Use EQ not EQUAL to avoid QUIT tripping. toolbar-msw.c: Indentation fixes.
author ben
date Sat, 30 Nov 2002 08:10:26 +0000
parents c15f25529e61
children f0af455e89d9
comparison
equal deleted inserted replaced
1129:dcfac2888bf3 1130:ccd0667b4764
109 109
110 /* Delete the buttons and remove the command from the hash table */ 110 /* Delete the buttons and remove the command from the hash table */
111 i = qxeSendMessage (toolbarwnd, TB_BUTTONCOUNT, 0, 0); 111 i = qxeSendMessage (toolbarwnd, TB_BUTTONCOUNT, 0, 0);
112 for (i--; i >= 0; i--) 112 for (i--; i >= 0; i--)
113 { 113 {
114 qxeSendMessage (toolbarwnd, TB_GETBUTTON, (WPARAM)i, 114 qxeSendMessage (toolbarwnd, TB_GETBUTTON, (WPARAM) i,
115 (LPARAM)&info); 115 (LPARAM) &info);
116 Fremhash(make_int(info.idCommand), 116 Fremhash (make_int (info.idCommand),
117 FRAME_MSWINDOWS_TOOLBAR_HASH_TABLE(f)); 117 FRAME_MSWINDOWS_TOOLBAR_HASH_TABLE (f));
118 qxeSendMessage (toolbarwnd, TB_DELETEBUTTON, (WPARAM)i, 0); 118 qxeSendMessage (toolbarwnd, TB_DELETEBUTTON, (WPARAM) i, 0);
119 } 119 }
120 120
121 /* finally get rid of the image list assuming it clears up its 121 /* finally get rid of the image list assuming it clears up its
122 bitmaps */ 122 bitmaps */
123 qxeSendMessage (toolbarwnd, TB_GETIMAGELIST, 0, (LONG) &ilist); 123 qxeSendMessage (toolbarwnd, TB_GETIMAGELIST, 0, (LONG) &ilist);