You've already forked lazarus-ccr
jvcllaz: Fix TJvWizardCustomPage.Done and TJvWizardCustomPage.Enter not calling FOnPage or FOnPageEnter, respectively (https://sourceforge.net/p/lazarus-ccr/bugs/39/).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7150 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -2501,13 +2501,13 @@ end;
|
||||
procedure TJvWizardCustomPage.Done;
|
||||
begin
|
||||
Refresh; // !!! Force the page to repaint itself immediately.
|
||||
if Assigned(FOnPage) and Enabled and not ([csDesigning, csDestroying] * ComponentState = []) then
|
||||
if Assigned(FOnPage) and Enabled and ([csDesigning, csDestroying] * ComponentState = []) then
|
||||
FOnPage(Self);
|
||||
end;
|
||||
|
||||
procedure TJvWizardCustomPage.Enter(const FromPage: TJvWizardCustomPage);
|
||||
begin
|
||||
if Assigned(FOnEnterPage) and Enabled and not ([csDesigning, csDestroying] * ComponentState = []) then
|
||||
if Assigned(FOnEnterPage) and Enabled and ([csDesigning, csDestroying] * ComponentState = []) then
|
||||
FOnEnterPage(Self, FromPage);
|
||||
end;
|
||||
|
||||
|
Reference in New Issue
Block a user