LCL: made TPopupMenu.Popup virtual (Delphi compatible, )

git-svn-id: trunk@10684 -
This commit is contained in:
vincents 2007-02-25 22:26:01 +00:00
parent c771e5361c
commit 180a3b4e0c
2 changed files with 2 additions and 2 deletions

View File

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

View File

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