set default form icon (issue #1457)

git-svn-id: trunk@8197 -
This commit is contained in:
micha 2005-11-19 16:10:56 +00:00
parent 192b287775
commit 555edd3371

View File

@ -236,6 +236,8 @@ begin
end;
// create window
FinishCreateWindow(AWinControl, Params, false);
// TODO: proper icon, for now set default icon
SetIcon(TCustomForm(AWinControl), 0);
Result := Params.Window;
end;