Commit Graph

17 Commits

Author SHA1 Message Date
Francois Gouget 4aa6418d51 Assorted spelling fixes. 2006-02-24 21:10:03 +01:00
Rein Klazes 1d0ec411d4 user: Add conformance tests for menu item drawing. 2006-02-20 12:00:39 +01:00
Francois Gouget 379b62c04e Assorted spelling fixes. 2006-02-06 20:58:36 +01:00
Eric Pouech e66e227dbe Fixes for missing prototypes warnings. 2006-02-06 13:13:28 +01:00
Dmitry Timoshkov 9b1ea63bf9 user32: Make GetMenuItemInfo tests pass under Wine.
- Change menu item search algorithm to recurse into a submenu first.
- Fallback to a found submenu if nothing else was found.
2006-01-23 11:59:21 +01:00
Jason Edmeades 14889a618d user: Tests for when the menu is incorrect because of duplication of a
menu id and an hMenu.
2006-01-19 11:56:20 +01:00
Rein Klazes 079912c679 user32: Prevent a crash in GetMenuStringA caused by calling strlenW on
a NULL pointer, with a test.
2006-01-09 17:13:44 +01:00
Rein Klazes b34868dffa user32: Separate menu bitmaps and strings.
Store bitmaps and bitmaps always in separate fields in the internal
menu structure.  Get rid of a lot of assumptions in the code that the
menu can have strings only when it is not some other type and that
bitmaps come in two flavors.
Add a lot of conformance tests, including some submitted by Jason
Edmeades.
2006-01-03 13:23:28 +01:00
Dmitry Timoshkov b9212e2aba set_menu_item_text handles converting an empty menu item to a
separator on its own, give it a chance to do its work in the
MIIM_FTYPE case.
2005-11-28 11:53:20 +01:00
Francois Gouget 0edbaf7e80 Remove spaces before '\n' in traces. 2005-11-10 12:14:56 +00:00
Mike McCormack d2232bf88c Add a currently failing test case for menus. 2005-10-27 10:19:01 +00:00
Alexandre Julliard e4b2a0bbbc Use Get/SetWindowLongPtr instead of Get/SetWindowLong where
appropriate.
2005-09-09 15:20:04 +00:00
Francois Gouget c7dcf642ea Add trailing '\n's to ok() calls. 2005-07-06 15:46:47 +00:00
Stefan Huehner ffe53258aa Fix some -Wstrict-prototypes warnings. 2005-06-27 09:57:28 +00:00
Rein Klazes 75d88907ff 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.
2005-06-20 14:12:39 +00:00
Rein Klazes 1c5671df07 Multi column popup menus have 4 pixel space between the columns. With
conformance test.
2005-05-10 13:17:33 +00:00
Robert Shearman 95ebdc63c6 Add a test for a menu problem I found. 2005-04-14 13:57:27 +00:00