mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-04 14:00:41 +02:00
amenuobject compilation fix
git-svn-id: trunk@4735 -
This commit is contained in:
parent
246851ae33
commit
795e6432b3
@ -1239,8 +1239,8 @@ end;
|
|||||||
|
|
||||||
procedure TWin32Object.AttachMenuToWindow(AMenuObject: TComponent);
|
procedure TWin32Object.AttachMenuToWindow(AMenuObject: TComponent);
|
||||||
begin
|
begin
|
||||||
Windows.SetMenu(TWinControl((AMenu as TMenu).Owner).Handle,
|
Windows.SetMenu(TWinControl(AMenuObject.Owner).Handle,
|
||||||
TMenu(AMenu).Handle);
|
(AMenuObject as TMenu).Handle);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{ Private methods (in no significant order) }
|
{ Private methods (in no significant order) }
|
||||||
@ -2804,6 +2804,9 @@ End;
|
|||||||
|
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.123 2003/10/29 14:24:21 micha
|
||||||
|
amenuobject compilation fix
|
||||||
|
|
||||||
Revision 1.122 2003/10/28 14:25:37 mattias
|
Revision 1.122 2003/10/28 14:25:37 mattias
|
||||||
fixed unit circle
|
fixed unit circle
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user