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

Alexandre Julliard julliard at wine.codeweavers.com
Tue Nov 21 08:14:41 CST 2006


Module: wine
Branch: master
Commit: a6e2fe5ae3eae38d22984e6e2d482772a75605ac
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a6e2fe5ae3eae38d22984e6e2d482772a75605ac

Author: Huw Davies <huw at codeweavers.com>
Date:   Mon Nov 20 12:21:17 2006 +0000

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

---

 dlls/comctl32/propsheet.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/comctl32/propsheet.c b/dlls/comctl32/propsheet.c
index 0487220..a865f51 100644
--- a/dlls/comctl32/propsheet.c
+++ b/dlls/comctl32/propsheet.c
@@ -1703,6 +1703,8 @@ static BOOL PROPSHEET_Finish(HWND hwndDl
   if (msgResult != 0)
     return FALSE;
 
+  if (psInfo->result == 0)
+      psInfo->result = IDOK;
   if (psInfo->isModeless)
     psInfo->activeValid = FALSE;
   else




More information about the wine-cvs mailing list