20 Aug
2018
20 Aug
'18
7:52 a.m.
Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> writes:
The Message TVM_EXPAND is captured in treeview_notify, then passes g_pChildWnd->hTreeWnd on to OnTreeExpanding which hasn't been initialized yet. The function get_last_key is already called after the hTreeWnd has been assigned to select the previous selected item (if it exists).
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> --- programs/regedit/childwnd.c | 7 ++++++- programs/regedit/treeview.c | 3 --- 2 files changed, 6 insertions(+), 4 deletions(-)
This breaks the initial expansion of the root node. -- Alexandre Julliard julliard(a)winehq.org