comparison src/toolbar-msw.c @ 440:8de8e3f6228a r21-2-28

Import from CVS: tag r21-2-28
author cvs
date Mon, 13 Aug 2007 11:33:38 +0200
parents 3ecd8885ac67
children abe6d1db359e
comparison
equal deleted inserted replaced
439:357dd071b03c 440:8de8e3f6228a
260 else 260 else
261 instance = Qnil; 261 instance = Qnil;
262 262
263 if (IMAGE_INSTANCEP (instance)) 263 if (IMAGE_INSTANCEP (instance))
264 { 264 {
265 struct Lisp_Image_Instance* p = XIMAGE_INSTANCE (instance); 265 Lisp_Image_Instance* p = XIMAGE_INSTANCE (instance);
266 266
267 if (IMAGE_INSTANCE_PIXMAP_TYPE_P (p)) 267 if (IMAGE_INSTANCE_PIXMAP_TYPE_P (p))
268 { 268 {
269 /* we are going to honor the toolbar settings 269 /* we are going to honor the toolbar settings
270 and resize the bitmaps accordingly if they are 270 and resize the bitmaps accordingly if they are
584 DELETE_TOOLBAR(RIGHT_TOOLBAR); 584 DELETE_TOOLBAR(RIGHT_TOOLBAR);
585 #undef DELETE_TOOLBAR 585 #undef DELETE_TOOLBAR
586 } 586 }
587 587
588 /* map toolbar hwnd to pos*/ 588 /* map toolbar hwnd to pos*/
589 int mswindows_find_toolbar_pos(struct frame* f, HWND ctrl) 589 static int mswindows_find_toolbar_pos(struct frame* f, HWND ctrl)
590 { 590 {
591 int id = GetDlgCtrlID(ctrl); 591 int id = GetDlgCtrlID(ctrl);
592 return id ? id - TOOLBAR_ID_BIAS : -1; 592 return id ? id - TOOLBAR_ID_BIAS : -1;
593 } 593 }
594 594