http://bugs.winehq.org/show_bug.cgi?id=17251
--- Comment #11 from Nikolay Sivov bunglehead@gmail.com 2009-06-01 16:15:31 --- (In reply to comment #10)
I have tried to run your patch but it fails to create a window. The statement hwnd = create_listview_control(LVS_EDITLABELS); creates a window with WS_CHILD but this seems to be invalid with LVS_EDITLABELS.
No, it can be used with child controls of course. Don't follow you, sorry. Where did you try it? On Wine or native (what version)? Patch with test is in current git, look at test.winehq.org - it passed on lot of boxes (and on all Wines too).
BTW, I've already got a patch that accidentally partially fixes this issue:
http://www.winehq.org/pipermail/wine-patches/2009-June/073638.html
Items aren't renamed after that, but items with equal names exist a period of time when owner resort a list after name change. After sorting no duplicates exist. So as I said it fixes it partially - more tests needed (I think it's something ownerdata specific like a sorting on parent side maybe).
Nikolay S.