[regedit] Process WM_COMMAND button click messages in the local window as well

See issue #5927 for more details.

svn path=/trunk/; revision=51532
This commit is contained in:
Gregor Schneider 2011-05-01 15:16:55 +00:00
parent 16b032b455
commit c81830d2e6

View file

@ -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;
}