Silence useless ERRs

Dimitrie O. Paun dimi at cs.toronto.edu
Sat Jan 26 10:20:51 CST 2002


[extracted from office1.diff]

ChangeLog:
  Remove useless error output (by Codeweavers).

--
Dimi.
-------------- next part --------------
Index: dlls/comctl32/nativefont.c
===================================================================
RCS file: /var/cvs/wine/dlls/comctl32/nativefont.c,v
retrieving revision 1.13
diff -u -r1.13 nativefont.c
--- dlls/comctl32/nativefont.c	12 Feb 2001 03:42:23 -0000	1.13
+++ dlls/comctl32/nativefont.c	26 Jan 2002 15:08:31 -0000
@@ -77,6 +77,16 @@
 	case WM_DESTROY:
 	    return NATIVEFONT_Destroy (hwnd, wParam, lParam);
 
+        case WM_MOVE:
+        case WM_SIZE:
+        case WM_SHOWWINDOW:
+        case WM_WINDOWPOSCHANGING:
+        case WM_WINDOWPOSCHANGED:
+        case WM_SETFONT:
+        case WM_GETDLGCODE:
+	    /* FIXME("message %04x seen but stubbed\n", uMsg); */
+	    return DefWindowProcA (hwnd, uMsg, wParam, lParam);
+
 	default:
 	    ERR("unknown msg %04x wp=%08x lp=%08lx\n",
 		     uMsg, wParam, lParam);


More information about the wine-patches mailing list