lcl: made TPopupMenu.DoClose a virtual protected method, like DoPopup (bug #9426) from Luiz

git-svn-id: trunk@11808 -
This commit is contained in:
vincents 2007-08-13 21:39:05 +00:00
parent 31a2d5bbb8
commit 70af0c3bc1

View File

@ -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;