Browse Source

修复上报提示ID有误

MaiXinRong 9 years ago
parent
commit
32cb231bc0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Units/UtilMethods.pas

+ 1 - 1
Units/UtilMethods.pas

@@ -178,7 +178,7 @@ end;
 
 function QuestMessageYesNo(const AMsg: string): Boolean;
 begin
-  Result := MessageBox(Application.Handle, PChar(AMsg), PChar('ѯÎÊ'), MB_YESNO or MB_ICONQUESTION) = IDOK;
+  Result := MessageBox(Application.Handle, PChar(AMsg), PChar('ѯÎÊ'), MB_YESNO or MB_ICONQUESTION) = IDYes;
   Application.ProcessMessages;
 end;