mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 11:42:42 +02:00
gtk1: fixed compilation
git-svn-id: trunk@15300 -
This commit is contained in:
parent
6997537d50
commit
751043ea4d
@ -422,8 +422,12 @@ begin
|
||||
if (AInfo^.SpaceWidget = nil)
|
||||
and (ALayout in [blGlyphRight, blGlyphBottom])
|
||||
then begin
|
||||
{$IFDEF gtk1}
|
||||
AInfo^.SpaceWidget := gtk_invisible_new;
|
||||
{$ELSE}
|
||||
// dont use gtk_invisible_new - it cannot have parent
|
||||
AInfo^.SpaceWidget := gtk_image_new;
|
||||
{$ENDIF}
|
||||
UpdateLayout(AInfo, ALayout, AMargin);
|
||||
end
|
||||
else begin
|
||||
|
Loading…
Reference in New Issue
Block a user