Owner drawn menu item size calculation fixes:
commit75d88907ffa00e7d5d602ad9befcebcc81698f85
authorRein Klazes <wijn@wanadoo.nl>
Mon, 20 Jun 2005 14:12:39 +0000 (20 14:12 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 20 Jun 2005 14:12:39 +0000 (20 14:12 +0000)
tree59b2439957600f48d5fe98e72d7075fe6c2fa284
parente5208ca7a36c22827dcc59656135f9430640e4b5
Owner drawn menu item size calculation fixes:
- Correct width calculation of owner drawn menu items;
- Set the height value in the MEASUREITEM struct to the same value as
  Windows (NT/2k/XP) does (problem debugged by Felix Nawothnig);
- Add tests for the fixes above;
- Also add tests for menu bars with owner drawn items.
dlls/user/menu.c
dlls/user/tests/menu.c