no more weird descriptions when sections are hidden

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2472 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
joostverburg 2003-04-20 16:15:03 +00:00
parent c873cc99c4
commit 1abddbef60

View file

@ -942,6 +942,8 @@ static DWORD WINAPI newTreeWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM l
}
if (uMsg == WM_MOUSEMOVE) {
TVITEM tvItem;
if (GetWindowLong(hwnd, GWL_STYLE) & WS_VISIBLE) {
tvItem.hItem = TreeHitTest(hwnd);
lParam = -1;
@ -956,6 +958,7 @@ static DWORD WINAPI newTreeWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM l
}
uMsg = WM_USER+0x19;
}
}
if (uMsg == WM_USER+0x19) {
if (last_item != lParam)
{