user32: Handle WM_PRINTCLIENT message in PopupMenuWndProc().

This commit is contained in:
Rein Klazes 2009-08-18 15:46:15 +02:00 committed by Alexandre Julliard
parent 85342a1562
commit 251c26e0f9
1 changed files with 8 additions and 0 deletions

View File

@ -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;