user32: Pass the same PRF_ flags from WM_PRINT to WM_PRINTCLIENT.
Dmitry Timoshkov
dmitry at codeweavers.com
Wed Jul 22 01:22:35 CDT 2009
This is something I noticed while investigating painting problems in
the application I'm working on. Spy++ shows that resulting WM_PRINTCLIENT
message receives the same flags as an originating WM_PRINT has.
---
dlls/user32/defwnd.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/user32/defwnd.c b/dlls/user32/defwnd.c
index bf30c97..19d6ab2 100644
--- a/dlls/user32/defwnd.c
+++ b/dlls/user32/defwnd.c
@@ -216,7 +216,7 @@ static void DEFWND_Print( HWND hwnd, HDC hdc, ULONG uFlags)
* Client area
*/
if ( uFlags & PRF_CLIENT)
- SendMessageW(hwnd, WM_PRINTCLIENT, (WPARAM)hdc, PRF_CLIENT);
+ SendMessageW(hwnd, WM_PRINTCLIENT, (WPARAM)hdc, uFlags);
}
--
1.6.3.3
More information about the wine-patches
mailing list