From c81830d2e67727ed2596fa8cec81f0d25a8f7ee5 Mon Sep 17 00:00:00 2001 From: Gregor Schneider Date: Sun, 1 May 2011 15:16:55 +0000 Subject: [PATCH] [regedit] Process WM_COMMAND button click messages in the local window as well See issue #5927 for more details. svn path=/trunk/; revision=51532 --- reactos/base/applications/regedit/childwnd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reactos/base/applications/regedit/childwnd.c b/reactos/base/applications/regedit/childwnd.c index fcf5db21a03..378d2e7e8ba 100644 --- a/reactos/base/applications/regedit/childwnd.c +++ b/reactos/base/applications/regedit/childwnd.c @@ -367,7 +367,8 @@ LRESULT CALLBACK ChildWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPa { PostMessage(g_pChildWnd->hAddressBarWnd, WM_KEYUP, VK_RETURN, 0); } - else if (!_CmdWndProc(hWnd, message, wParam, lParam)) + + if (!_CmdWndProc(hWnd, message, wParam, lParam)) { goto def; }