Module: wine Branch: refs/heads/master Commit: ac37f4cc64f563a372400fc206353e9a4567bd04 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=ac37f4cc64f563a372400fc2...
Author: Robert Shearman rob@codeweavers.com Date: Thu Jan 5 12:18:43 2006 +0100
regedit: Initialise nFocusPanel.
---
programs/regedit/childwnd.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/programs/regedit/childwnd.c b/programs/regedit/childwnd.c index 550c653..f6f0042 100644 --- a/programs/regedit/childwnd.c +++ b/programs/regedit/childwnd.c @@ -195,6 +195,7 @@ LRESULT CALLBACK ChildWndProc(HWND hWnd, pChildWnd->hWnd = hWnd; pChildWnd->hTreeWnd = CreateTreeView(hWnd, pChildWnd->szPath, TREE_WINDOW); pChildWnd->hListWnd = CreateListView(hWnd, LIST_WINDOW/*, pChildWnd->szPath*/); + pChildWnd->nFocusPanel = 1; SetFocus(pChildWnd->hTreeWnd); break; case WM_COMMAND: