From b1e6affa83420416213eb45c2ff05db38d37f66f Mon Sep 17 00:00:00 2001 From: Juha Date: Wed, 24 Nov 2021 12:49:30 +0200 Subject: [PATCH] Education package: Fix compilation after cbc97e5a03. --- components/education/educomppalette.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/education/educomppalette.pas b/components/education/educomppalette.pas index fdc16d278a..364a802572 100644 --- a/components/education/educomppalette.pas +++ b/components/education/educomppalette.pas @@ -418,13 +418,13 @@ begin inherited Create; Name:='ComponentPalette'; fVisible:=TStringToStringTree.Create(false); - IDEComponentPalette.AddHandlerUpdateVisible(@VoteForVisible); + IDEComponentPalette.AddHandlerVoteVisibility(@VoteForVisible); end; destructor TEduComponentPaletteOptions.Destroy; begin if IDEComponentPalette<>nil then - IDEComponentPalette.RemoveHandlerUpdateVisible(@VoteForVisible); + IDEComponentPalette.RemoveHandlerVoteVisibility(@VoteForVisible); FreeAndNil(fVisible); inherited Destroy; end;