mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 15:36:31 +02:00
gtk intf: TGtkWSCustomListView.ItemChangeInternal: gdk_pixbuf_render_pixmap_and_mask creates the pixmap and mask itself
git-svn-id: trunk@21785 -
This commit is contained in:
parent
17b5d19761
commit
f7a5ae1032
@ -525,8 +525,8 @@ begin
|
||||
end;
|
||||
gbPixbuf:
|
||||
begin
|
||||
Pixmap := gdk_pixmap_new(nil, ImageBitmap.Width, ImageBitmap.Height, 24);
|
||||
Mask := gdk_pixmap_new(nil, ImageBitmap.Width, ImageBitmap.Height, 1);
|
||||
Pixmap := nil;
|
||||
Mask := nil;
|
||||
gdk_pixbuf_render_pixmap_and_mask(GDIObject^.GDIPixbufObject, Pixmap, Mask, $80);
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user