Browse Source

Tweak TButton -> TNewButton.

Martijn Laan 5 years ago
parent
commit
4bd0639d41
2 changed files with 2 additions and 2 deletions
  1. 1 1
      Examples/CodeAutomation.iss
  2. 1 1
      Examples/CodeAutomation2.iss

+ 1 - 1
Examples/CodeAutomation.iss

@@ -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;

+ 1 - 1
Examples/CodeAutomation2.iss

@@ -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;