Martijn Laan 6 năm trước cách đây
mục cha
commit
844f7ad561
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;