http://bugs.winehq.org/show_bug.cgi?id=12171
--- Comment #24 from Rein Klazes wijn@online.nl 2009-07-16 05:45:06 --- I have tried the WZebra 2.4.2 application and I find that the problem is not in the finditem. The real difference with Windows is that the ModifyMenu function fails when attempting to create a loop in the menu tree. Since all examples shown are ignoring the return value of ModifyMenu() this is not noticed.
I have submitted a test that show the behavior of WZebra. Another test shows that on windows there is a limit of about 25 on the depth of the menu tree, probably used in the tests for loops in the menu tree.
http://www.winehq.org/pipermail/wine-patches/2009-July/076008.html