mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-26 22:03:48 +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;
|
PopupForm.FOnReturnDate := OnReturnDate;
|
||||||
//TODO: Change to PopupForm.Show when gtk supports non modal forms on top of
|
//TODO: Change to PopupForm.Show when gtk supports non modal forms on top of
|
||||||
//modal forms.
|
//modal forms.
|
||||||
{$IFDEF MSWindows}
|
{$IFDEF windows}
|
||||||
PopupForm.Show;
|
PopupForm.Show;
|
||||||
{$ELSE}
|
{$ELSE}
|
||||||
PopupForm.ShowModal;
|
PopupForm.ShowModal;
|
||||||
|
@ -337,7 +337,7 @@ type
|
|||||||
public
|
public
|
||||||
constructor Create(AOwner: TComponent); override;
|
constructor Create(AOwner: TComponent); override;
|
||||||
destructor Destroy; override;
|
destructor Destroy; override;
|
||||||
procedure PopUp(X, Y: Integer);
|
procedure PopUp(X, Y: Integer); virtual;
|
||||||
property PopupComponent: TComponent read FPopupComponent
|
property PopupComponent: TComponent read FPopupComponent
|
||||||
write FPopupComponent;
|
write FPopupComponent;
|
||||||
property PopupPoint: TPoint read FPopupPoint;
|
property PopupPoint: TPoint read FPopupPoint;
|
||||||
|
Loading…
Reference in New Issue
Block a user