gtk1: fixed compilation

git-svn-id: trunk@15300 -
This commit is contained in:
mattias 2008-06-03 17:47:13 +00:00
parent 6997537d50
commit 751043ea4d

View File

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