comctl32: Set the result to IDOK on 'Finish'.

oldstable
Huw Davies 2006-11-20 12:21:17 +00:00 committed by Alexandre Julliard
parent 9385309461
commit a6e2fe5ae3
1 changed files with 2 additions and 0 deletions

View File

@ -1703,6 +1703,8 @@ static BOOL PROPSHEET_Finish(HWND hwndDlg)
if (msgResult != 0)
return FALSE;
if (psInfo->result == 0)
psInfo->result = IDOK;
if (psInfo->isModeless)
psInfo->activeValid = FALSE;
else