* Enable/Disable finish button based on the right edit control

* fixes bug 3625

svn path=/trunk/; revision=35150
This commit is contained in:
Johannes Anderwald 2008-08-06 18:18:43 +00:00
parent 91f8d86ffc
commit 5d93751807

View file

@ -188,7 +188,7 @@ FinishDlgProc(HWND hwndDlg,
switch(HIWORD(wParam))
{
case EN_CHANGE:
if (SendDlgItemMessage(hwndDlg, IDC_SHORTCUT_LOCATION, WM_GETTEXTLENGTH, 0, 0))
if (SendDlgItemMessage(hwndDlg, IDC_SHORTCUT_NAME, WM_GETTEXTLENGTH, 0, 0))
{
PropSheet_SetWizButtons(GetParent(hwndDlg), PSWIZB_BACK | PSWIZB_FINISH);
}