Michael Kaufmann : static control: Immediately repaint the control.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Jan 17 09:29:41 CST 2006
Module: wine
Branch: refs/heads/master
Commit: 73a23606a9bdbcc027c432b2205d860a01f85176
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=73a23606a9bdbcc027c432b2205d860a01f85176
Author: Michael Kaufmann <hallo at michael-kaufmann.ch>
Date: Tue Jan 17 16:09:32 2006 +0100
static control: Immediately repaint the control.
---
dlls/user/static.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/user/static.c b/dlls/user/static.c
index fb083b4..b830a61 100644
--- a/dlls/user/static.c
+++ b/dlls/user/static.c
@@ -419,7 +419,7 @@ static LRESULT StaticWndProc_common( HWN
case WM_SYSCOLORCHANGE:
STATIC_InitColours();
- InvalidateRect(hwnd, NULL, TRUE);
+ STATIC_TryPaintFcn( hwnd, full_style );
break;
case WM_NCCREATE:
@@ -544,13 +544,13 @@ static LRESULT StaticWndProc_common( HWN
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-cvs
mailing list