mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-23 06:59:31 +02:00
Undo Revision 24150 #55f4c6d87b ( TControl: Call RemoveFreeNotification on PopUpMenu, when replaced )
git-svn-id: trunk@24156 -
This commit is contained in:
parent
a1ba019bb2
commit
ce1a8b7e1c
@ -3618,8 +3618,6 @@ end;
|
||||
------------------------------------------------------------------------------}
|
||||
procedure TControl.SetPopupMenu(Value: TPopupMenu);
|
||||
begin
|
||||
if FPopupMenu <> nil then
|
||||
FPopupMenu.RemoveFreeNotification(Self);
|
||||
FPopupMenu := Value;
|
||||
if FPopupMenu <> nil then
|
||||
FPopupMenu.FreeNotification(Self);
|
||||
|
Loading…
Reference in New Issue
Block a user