# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1351393196 0 # Node ID 10c59bb2c47f7338c363549ee31d03e557048bd8 # Parent df7f3967c21e968871f10e6a7b9f7f7669edc230 On Windows invalidate the bitmap button after changing the bitmap to force a redraw. diff -r df7f3967c21e -r 10c59bb2c47f win/dw.c --- a/win/dw.c Sat Oct 27 01:29:32 2012 +0000 +++ b/win/dw.c Sun Oct 28 02:59:56 2012 +0000 @@ -6670,6 +6670,7 @@ DeleteObject(iconinfo.hbmMask); DestroyIcon(icon); } + InvalidateRect(handle, NULL, FALSE); } #endif else