- when sending the WM_DRAWITEM message in case of a menu item with
commitf5d2ea6ca4af4f845118df8e2ac7919d7ee86e0d
authorRein Klazes <wijn@wanadoo.nl>
Wed, 6 Jul 2005 19:03:18 +0000 (6 19:03 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 6 Jul 2005 19:03:18 +0000 (6 19:03 +0000)
treea57c9e223a0508f7a95da2151eef049b0af4ebb6
parent403d1185552dbb005549029656c79840b4907ca5
- when sending the WM_DRAWITEM message in case of a menu item with
  hbmpItem = HBMMENU_CALLBACK, move the drawing origin to the top left
  of the item rectangle
- at the same time also make sure that the itemState field of the
 DRAWITEMSTRUCT is properly initialized
- do the drawing of the check mark before sending the WM_DRAWITEM
  message, some application likes to "overdraw" the checkmark.
dlls/user/menu.c