add OnClick for static controls
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5365 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
502e50c094
commit
feb5dca48e
1 changed files with 5 additions and 0 deletions
|
@ -82,6 +82,11 @@ BOOL CALLBACK DialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||
pushint((int) hwCtl);
|
||||
g_pluginParms->ExecuteCodeSegment(ctl->callbacks.onChange - 1, 0);
|
||||
}
|
||||
else if (HIWORD(wParam) == STN_CLICKED && ctl->type == NSCTL_STATIC)
|
||||
{
|
||||
pushint((int) hwCtl);
|
||||
g_pluginParms->ExecuteCodeSegment(ctl->callbacks.onClick - 1, 0);
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue