Fixed a bug which caused beeping when the space key is hit on the components tree (kichik missed a bit...)

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3354 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
eccles 2004-01-04 19:45:14 +00:00
parent 9298dd089c
commit 551c3b7d5c

View file

@ -1050,9 +1050,10 @@ static LONG oldTreeWndProc;
static DWORD WINAPI newTreeWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
static LPARAM last_item=-1;
if (uMsg == WM_CHAR && wParam == VK_SPACE)
if (uMsg == WM_CHAR && wParam == (WPARAM)' ')
{
NotifyCurWnd(WM_TREEVIEW_KEYHACK);
return 0;
}
#if defined(NSIS_SUPPORT_CODECALLBACKS) && defined(NSIS_CONFIG_ENHANCEDUI_SUPPORT)
if (uMsg == WM_DESTROY) {