user32: Handle WM_PRINTCLIENT message in PopupMenuWndProc().
This commit is contained in:
parent
85342a1562
commit
251c26e0f9
|
@ -3472,6 +3472,14 @@ static LRESULT WINAPI PopupMenuWndProc( HWND hwnd, UINT message, WPARAM wParam,
|
|||
EndPaint( hwnd, &ps );
|
||||
return 0;
|
||||
}
|
||||
|
||||
case WM_PRINTCLIENT:
|
||||
{
|
||||
MENU_DrawPopupMenu( hwnd, (HDC)wParam,
|
||||
(HMENU)GetWindowLongPtrW( hwnd, 0 ) );
|
||||
return 0;
|
||||
}
|
||||
|
||||
case WM_ERASEBKGND:
|
||||
return 1;
|
||||
|
||||
|
|
Loading…
Reference in New Issue