Static control

Eric Pouech eric.pouech at wanadoo.fr
Sat Feb 23 15:59:01 CST 2002


this patch fixes the WM_SETFONT message handling for static control
(bug looked like an evilish paste)

A+
-------------- next part --------------
Name: static
ChangeLog: fixed WM_SETFONT handling (no redraw made in some cases)
GenDate: 2002/02/23 21:47:01 UTC
ModifiedFiles: controls/static.c
AddedFiles: 
===================================================================
RCS file: /home/cvs/cvsroot/wine/wine/controls/static.c,v
retrieving revision 1.32
diff -u -u -r1.32 static.c
--- controls/static.c	31 Jan 2002 21:02:17 -0000	1.32
+++ controls/static.c	10 Feb 2002 14:24:02 -0000
@@ -329,7 +329,7 @@
 	case SS_SIMPLE:
 	case SS_LEFTNOWORDWRAP:
         {
-	    if (uMsg == WM_SETTEXT)
+            if (LOWORD(lParam))
 		STATIC_TryPaintFcn( hwnd, full_style );
 	    break;
 	}


More information about the wine-patches mailing list