changeset 1826:10c59bb2c47f

On Windows invalidate the bitmap button after changing the bitmap to force a redraw.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sun, 28 Oct 2012 02:59:56 +0000
parents df7f3967c21e
children 04c74cd0fb35
files win/dw.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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