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:
parent
9298dd089c
commit
551c3b7d5c
1 changed files with 2 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue