Mercurial > hg > xemacs-beta
diff src/redisplay-msw.c @ 288:e11d67e05968 r21-0b42
Import from CVS: tag r21-0b42
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:35:54 +0200 |
parents | 57709be46d1b |
children | 4b85ae5eabfb |
line wrap: on
line diff
--- a/src/redisplay-msw.c Mon Aug 13 10:35:07 2007 +0200 +++ b/src/redisplay-msw.c Mon Aug 13 10:35:54 2007 +0200 @@ -1393,20 +1393,9 @@ mswindows_update_dc (FRAME_MSWINDOWS_DC (f), Qnil, fcolor, bcolor, background_pixmap); - if (XIMAGE_INSTANCE_PIXMAP_DEPTH (background_pixmap) == 0) - { - /* is this expensive? - I haven't seen it used as yet. */ - HBRUSH brush = CreateSolidBrush - (COLOR_INSTANCE_MSWINDOWS_COLOR (XCOLOR_INSTANCE (bcolor))); - FillRect (FRAME_MSWINDOWS_DC(f), &rect, brush); - DeleteObject (brush); - } - else - { - mswindows_output_dibitmap_region - ( f, XIMAGE_INSTANCE (background_pixmap), - x, y, 0, 0, 0, 0, width, height, 0, TRUE); - } + mswindows_output_dibitmap_region + ( f, XIMAGE_INSTANCE (background_pixmap), + x, y, 0, 0, 0, 0, width, height, 0, TRUE); } else {