user: Menu drawing fixes.
commit444a5471359df32a86a7b97e1c7070228ad62606
authorRein Klazes <wijn@wanadoo.nl>
Mon, 20 Feb 2006 10:56:21 +0000 (20 11:56 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 20 Feb 2006 10:56:21 +0000 (20 11:56 +0100)
treead4600038f1be7b5ba6099523fff6d10151938a2
parent672a1e4e4e2fd9f76f0de078d9b51319d4b7a883
user: Menu drawing fixes.
- Move sending WM_MEASUREITEM message for HBMMENU_CALLBACK bitmaps to
MENU_GetBitmapItemSize();
- Save the received bitmap size in the menu item structure as it will
need to be sent in the WM_DRAWITEM message;
-  Move sending WM_DRAWITEM message for HBMMENU_CALLBACK bitmaps to
MENU_DrawBitmapItem();
- This also means that HBMMENU_CALLBACK bitmaps are now supported in
menu bars.
dlls/user/menu.c