mirror of
https://github.com/reactos/reactos.git
synced 2024-07-02 02:34:53 +00:00
- Patch by Rein Klazes : user32: Handle WM_PRINTCLIENT message in PopupMenuWndProc().
svn path=/trunk/; revision=42902
This commit is contained in:
parent
69dffc5810
commit
ddd06401af
|
@ -998,6 +998,13 @@ PopupMenuWndProcA(HWND Wnd, UINT Message, WPARAM wParam, LPARAM lParam)
|
|||
return 0;
|
||||
}
|
||||
|
||||
case WM_PRINTCLIENT:
|
||||
{
|
||||
MenuDrawPopupMenu( Wnd, (HDC)wParam,
|
||||
(HMENU)GetWindowLongPtrW( Wnd, 0 ) );
|
||||
return 0;
|
||||
}
|
||||
|
||||
case WM_ERASEBKGND:
|
||||
return 1;
|
||||
|
||||
|
@ -1062,6 +1069,13 @@ PopupMenuWndProcW(HWND Wnd, UINT Message, WPARAM wParam, LPARAM lParam)
|
|||
return 0;
|
||||
}
|
||||
|
||||
case WM_PRINTCLIENT:
|
||||
{
|
||||
MenuDrawPopupMenu( Wnd, (HDC)wParam,
|
||||
(HMENU)GetWindowLongPtrW( Wnd, 0 ) );
|
||||
return 0;
|
||||
}
|
||||
|
||||
case WM_ERASEBKGND:
|
||||
return 1;
|
||||
|
||||
|
|
Loading…
Reference in a new issue