TVN_ITEMEXPANDING fix

Martin Fuchs martin-fuchs at gmx.net
Sun Jul 20 05:52:21 CDT 2003


Changelog:
Send TVN_ITEMEXPANDING when the user tries to expand a tree item _before_ checking for child items.

This way the application can fill the tree view subitem list in response to the notification message.


I'm note really shure, if not more calls to TREEVIEW_HasChildren() should also be replaced by a check of wineItem->firstChild. Does anyone have some test cases to test this?


--
Martin Fuchs
martin-fuchs at gmx.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: treeview-expanding.diff
Type: application/octet-stream
Size: 1774 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20030720/36f0b07b/treeview-expanding.obj


More information about the wine-patches mailing list