implemented RFE #1910005 - nsDialogs: support for ComboBox onChange
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5585 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
f2cd51e787
commit
b802ff0aee
1 changed files with 2 additions and 1 deletions
|
@ -85,7 +85,8 @@ 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) == CBN_SELCHANGE && ctl->type == NSCTL_COMBOBOX)
|
||||
else if ((HIWORD(wParam) == CBN_EDITUPDATE || HIWORD(wParam) == CBN_SELCHANGE)
|
||||
&& ctl->type == NSCTL_COMBOBOX)
|
||||
{
|
||||
pushint((int) hwCtl);
|
||||
g_pluginParms->ExecuteCodeSegment(ctl->callbacks.onChange - 1, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue