Destroy the header font
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7220 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
75a41ba8d7
commit
0f2f08439d
3 changed files with 12 additions and 3 deletions
|
@ -687,7 +687,7 @@ INT_PTR CALLBACK DialogProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam
|
|||
}
|
||||
case IDM_WNDSPY:
|
||||
{
|
||||
extern int ShowWndSpy(HWND hOwner);
|
||||
extern INT_PTR ShowWndSpy(HWND hOwner);
|
||||
return ShowWndSpy(g_sdata.hwnd);
|
||||
}
|
||||
case IDM_GUIDGEN:
|
||||
|
@ -943,6 +943,7 @@ static INT_PTR CALLBACK AboutProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM
|
|||
}
|
||||
break;
|
||||
case WM_DESTROY:
|
||||
DeleteObject(dd.hHeaderFont);
|
||||
DeleteObject(dd.hFont);
|
||||
DeleteObject(dd.hBoldFont);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue