| commit | 4f155e88bc77d21525ea4d3e400e2e3cc5bbe8bb | [log] [tgz] |
|---|---|---|
| author | Bill Jin <billj@corel.ca> | Sat Feb 26 18:29:15 2000 +0000 |
| committer | Alexandre Julliard <julliard@winehq.org> | Sat Feb 26 18:29:15 2000 +0000 |
| tree | bdac1136c6b3f2076a3a6dbbf08df317b6f97fc6 | |
| parent | fd018cc9da69e0fec4ed79a3e0fa1d036bcf4608 [diff] |
Bitmap buttons were not refreshed correctly.
diff --git a/controls/button.c b/controls/button.c index d51d190..cfbcc26 100644 --- a/controls/button.c +++ b/controls/button.c
@@ -275,7 +275,10 @@ case BM_SETIMAGE: oldHbitmap = infoPtr->hImage; if ((wndPtr->dwStyle & BS_BITMAP) || (wndPtr->dwStyle & BS_ICON)) + { infoPtr->hImage = (HANDLE) lParam; + InvalidateRect( hWnd, NULL, FALSE ); + } return oldHbitmap; case BM_GETIMAGE: