Daniel Jelinski : regedit: Make key names editable also with native comctl32.

Alexandre Julliard julliard at winehq.org
Mon Jun 4 13:27:12 CDT 2012


Module: wine
Branch: master
Commit: 14d4702c1b1062466674e1dbe9a9c34ffc1b7b4e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=14d4702c1b1062466674e1dbe9a9c34ffc1b7b4e

Author: Daniel Jelinski <djelinski1 at gmail.com>
Date:   Sat Jun  2 07:13:28 2012 +0200

regedit: Make key names editable also with native comctl32.

---

 programs/regedit/treeview.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/programs/regedit/treeview.c b/programs/regedit/treeview.c
index 2257fdd..7c5e76d 100644
--- a/programs/regedit/treeview.c
+++ b/programs/regedit/treeview.c
@@ -681,7 +681,7 @@ HWND CreateTreeView(HWND hwndParent, LPWSTR pHostName, UINT id)
     /* Get the dimensions of the parent window's client area, and create the tree view control.  */
     GetClientRect(hwndParent, &rcClient);
     hwndTV = CreateWindowExW(WS_EX_CLIENTEDGE, WC_TREEVIEWW, TreeView,
-                            WS_VISIBLE | WS_CHILD | WS_TABSTOP | TVS_HASLINES | TVS_HASBUTTONS | TVS_LINESATROOT,
+                            WS_VISIBLE | WS_CHILD | WS_TABSTOP | TVS_HASLINES | TVS_HASBUTTONS | TVS_LINESATROOT | TVS_EDITLABELS,
                             0, 0, rcClient.right, rcClient.bottom,
                             hwndParent, ULongToHandle(id), hInst, NULL);
     SendMessageW(hwndTV, TVM_SETUNICODEFORMAT, TRUE, 0);




More information about the wine-cvs mailing list