Static control [09/10]: Immediately repaint the control
Michael Kaufmann
hallo at michael-kaufmann.ch
Wed Jan 11 16:45:44 CST 2006
-------------- next part --------------
--- static-old.c 2006-01-11 22:54:14.000000000 +0100
+++ static.c 2006-01-11 22:56:47.000000000 +0100
@@ -419,7 +419,7 @@
case WM_SYSCOLORCHANGE:
STATIC_InitColours();
- InvalidateRect(hwnd, NULL, TRUE);
+ STATIC_TryPaintFcn( hwnd, full_style );
break;
case WM_NCCREATE:
@@ -544,13 +544,13 @@
FIXME("STM_SETIMAGE: Unhandled type %x\n", wParam);
break;
}
- InvalidateRect( hwnd, NULL, TRUE );
+ STATIC_TryPaintFcn( hwnd, full_style );
break;
case STM_SETICON16:
case STM_SETICON:
lResult = (LRESULT)STATIC_SetIcon( hwnd, (HICON)wParam, full_style );
- InvalidateRect( hwnd, NULL, TRUE );
+ STATIC_TryPaintFcn( hwnd, full_style );
break;
default:
More information about the wine-patches
mailing list