Martijn Laan 6 gadi atpakaļ
vecāks
revīzija
844f7ad561
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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;