Martijn Laan 6 vuotta sitten
vanhempi
commit
844f7ad561
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      Examples/AllPagesExample.iss

+ 1 - 1
Examples/AllPagesExample.iss

@@ -49,6 +49,6 @@ end;
 
 function PrepareToInstall(var NeedsRestart: Boolean): String;
 begin
-  if MsgBox('Do you want to stop Setup at the Preparing To Install wizard page?', mbConfirmation, MB_YESNO) = IDYES then
+  if SuppressibleMsgBox('Do you want to stop Setup at the Preparing To Install wizard page?', mbConfirmation, MB_YESNO, IDNO) = IDYES then
     Result := 'Stopped by user';
 end;