mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 15:10:22 +02:00
lcl: made TPopupMenu.DoClose a virtual protected method, like DoPopup (bug #9426) from Luiz
git-svn-id: trunk@11808 -
This commit is contained in:
parent
31a2d5bbb8
commit
70af0c3bc1
@ -348,6 +348,7 @@ type
|
||||
FPopupPoint: TPoint;
|
||||
protected
|
||||
procedure DoPopup(Sender: TObject); virtual;
|
||||
procedure DoClose; virtual;
|
||||
public
|
||||
constructor Create(AOwner: TComponent); override;
|
||||
destructor Destroy; override;
|
||||
@ -356,7 +357,6 @@ type
|
||||
write FPopupComponent;
|
||||
property PopupPoint: TPoint read FPopupPoint;
|
||||
procedure Close;
|
||||
procedure DoClose;
|
||||
published
|
||||
property AutoPopup: Boolean read FAutoPopup write FAutoPopup default True;
|
||||
property OnPopup: TNotifyEvent read FOnPopup write FOnPopup;
|
||||
|
Loading…
Reference in New Issue
Block a user