Mercurial > hg > xemacs-beta
comparison src/toolbar-msw.c @ 400:a86b2b5e0111 r21-2-30
Import from CVS: tag r21-2-30
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:14:34 +0200 |
parents | 74fd4e045ea6 |
children | b8cc9ab3f761 |
comparison
equal
deleted
inserted
replaced
399:376370fb5946 | 400:a86b2b5e0111 |
---|---|
571 | 571 |
572 static void | 572 static void |
573 mswindows_free_frame_toolbars (struct frame *f) | 573 mswindows_free_frame_toolbars (struct frame *f) |
574 { | 574 { |
575 HWND twnd=NULL; | 575 HWND twnd=NULL; |
576 #define DELETE_TOOLBAR(pos) \ | 576 #define DELETE_TOOLBAR(pos) \ |
577 mswindows_clear_toolbar(f, 0, pos); \ | 577 mswindows_clear_toolbar(f, pos, 0); \ |
578 if ((twnd=GetDlgItem(FRAME_MSWINDOWS_HANDLE(f), TOOLBAR_ID_BIAS + pos))) \ | 578 if ((twnd=GetDlgItem(FRAME_MSWINDOWS_HANDLE(f), \ |
579 TOOLBAR_ID_BIAS + pos))) \ | |
579 DestroyWindow(twnd) | 580 DestroyWindow(twnd) |
580 | 581 |
581 DELETE_TOOLBAR(TOP_TOOLBAR); | 582 DELETE_TOOLBAR(TOP_TOOLBAR); |
582 DELETE_TOOLBAR(BOTTOM_TOOLBAR); | 583 DELETE_TOOLBAR(BOTTOM_TOOLBAR); |
583 DELETE_TOOLBAR(LEFT_TOOLBAR); | 584 DELETE_TOOLBAR(LEFT_TOOLBAR); |