Skip to content

Commit

Permalink
Tweak TButton -> TNewButton.
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnlaan committed Jul 20, 2020
1 parent b46a4cc commit 4bd0639
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Examples/CodeAutomation.iss
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ end;
procedure CreateButton(ALeft, ATop: Integer; ACaption: String; ANotifyEvent: TNotifyEvent);
begin
with TButton.Create(WizardForm) do begin
with TNewButton.Create(WizardForm) do begin
Left := ALeft;
Top := ATop;
Width := WizardForm.CancelButton.Width;
Expand Down
2 changes: 1 addition & 1 deletion Examples/CodeAutomation2.iss
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ end;
procedure CreateButton(ALeft, ATop: Integer; ACaption: String; ANotifyEvent: TNotifyEvent);
begin
with TButton.Create(WizardForm) do begin
with TNewButton.Create(WizardForm) do begin
Left := ALeft;
Top := ATop;
Width := (WizardForm.CancelButton.Width*3)/2;
Expand Down

0 comments on commit 4bd0639

Please sign in to comment.