mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-08 09:20:49 +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;
|
FPopupPoint: TPoint;
|
||||||
protected
|
protected
|
||||||
procedure DoPopup(Sender: TObject); virtual;
|
procedure DoPopup(Sender: TObject); virtual;
|
||||||
|
procedure DoClose; virtual;
|
||||||
public
|
public
|
||||||
constructor Create(AOwner: TComponent); override;
|
constructor Create(AOwner: TComponent); override;
|
||||||
destructor Destroy; override;
|
destructor Destroy; override;
|
||||||
@ -356,7 +357,6 @@ type
|
|||||||
write FPopupComponent;
|
write FPopupComponent;
|
||||||
property PopupPoint: TPoint read FPopupPoint;
|
property PopupPoint: TPoint read FPopupPoint;
|
||||||
procedure Close;
|
procedure Close;
|
||||||
procedure DoClose;
|
|
||||||
published
|
published
|
||||||
property AutoPopup: Boolean read FAutoPopup write FAutoPopup default True;
|
property AutoPopup: Boolean read FAutoPopup write FAutoPopup default True;
|
||||||
property OnPopup: TNotifyEvent read FOnPopup write FOnPopup;
|
property OnPopup: TNotifyEvent read FOnPopup write FOnPopup;
|
||||||
|
Loading…
Reference in New Issue
Block a user