mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-26 22:23:49 +02:00
LCL: made TPopupMenu.Popup virtual (Delphi compatible, #8395)
git-svn-id: trunk@10684 -
This commit is contained in:
parent
c771e5361c
commit
180a3b4e0c
@ -67,7 +67,7 @@ begin
|
||||
PopupForm.FOnReturnDate := OnReturnDate;
|
||||
//TODO: Change to PopupForm.Show when gtk supports non modal forms on top of
|
||||
//modal forms.
|
||||
{$IFDEF MSWindows}
|
||||
{$IFDEF windows}
|
||||
PopupForm.Show;
|
||||
{$ELSE}
|
||||
PopupForm.ShowModal;
|
||||
|
@ -337,7 +337,7 @@ type
|
||||
public
|
||||
constructor Create(AOwner: TComponent); override;
|
||||
destructor Destroy; override;
|
||||
procedure PopUp(X, Y: Integer);
|
||||
procedure PopUp(X, Y: Integer); virtual;
|
||||
property PopupComponent: TComponent read FPopupComponent
|
||||
write FPopupComponent;
|
||||
property PopupPoint: TPoint read FPopupPoint;
|
||||
|
Loading…
Reference in New Issue
Block a user