user32/nonclient.c: Let user defined window proc repaint caption

Kirill K. Smirnov lich at math.spbu.ru
Fri Jan 12 05:59:50 CST 2007


-------------- next part --------------
diff --git a/dlls/user32/nonclient.c b/dlls/user32/nonclient.c
index cc3e66c..11128a1 100644
--- a/dlls/user32/nonclient.c
+++ b/dlls/user32/nonclient.c
@@ -1161,7 +1161,7 @@ LRESULT NC_HandleNCActivate( HWND hwnd, 
     if (IsIconic(hwnd))
         WINPOS_RedrawIconTitle( hwnd );
     else
-        NC_DoNCPaint( hwnd, (HRGN)1, FALSE );
+        SendMessageW( hwnd, WM_NCPAINT, 1, 0);
 
     return TRUE;
 }


More information about the wine-patches mailing list