Ensure question icon is not the first one in the application, so the exe does not use the question icon any more. See http://stackoverflow.com/questions/15564755/adding-a-res-file-to-project-replaces-the-default-icon-how-to-prevent-it

This commit is contained in:
Ansgar Becker
2015-06-14 13:23:49 +00:00
parent fe411be351
commit e2455e8ecc
2 changed files with 2 additions and 2 deletions

View File

@@ -1 +1 @@
ICONQUESTION ICON "icons\icon-question.ico"
Z_ICONQUESTION ICON "icons\icon-question.ico"

View File

@@ -2367,7 +2367,7 @@ begin
mtConfirmation, mtCustom: begin
if not Assigned(ConfirmIcon) then begin
ConfirmIcon := TIcon.Create;
ConfirmIcon.LoadFromResourceName(hInstance, 'ICONQUESTION');
ConfirmIcon.LoadFromResourceName(hInstance, 'Z_ICONQUESTION');
end;
Dialog.Flags := Dialog.Flags + [tfUseHiconMain];
Dialog.CustomMainIcon := ConfirmIcon;