mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-16 13:09:28 +02:00
added TMenuItem ImageIndex support for gtk
git-svn-id: trunk@8074 -
This commit is contained in:
parent
285c581bca
commit
c33f18f1a2
@ -5538,7 +5538,7 @@ end;
|
||||
------------------------------------------------------------------------------}
|
||||
procedure TGtkWidgetSet.AssignSelf(Child,Data : Pointer);
|
||||
begin
|
||||
gtk_Object_Set_Data(Pgtkobject(Child),'Self',Data);
|
||||
gtk_Object_Set_Data(Pgtkobject(Child),'Self',Data);
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
|
@ -5338,7 +5338,7 @@ begin
|
||||
Width:=0;
|
||||
Height:=0;
|
||||
if LCLMenuItem=nil then exit;
|
||||
if LCLMenuItem.HasBitmap then
|
||||
if LCLMenuItem.HasIcon then
|
||||
GetGdkPixmapFromGraphic(LCLMenuItem.Bitmap,IconImg,IconMask,Width,Height);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user