fixed gtk2 compilation

git-svn-id: trunk@8073 -
This commit is contained in:
mattias 2005-11-06 10:58:56 +00:00
parent 19b319415b
commit 285c581bca

View File

@ -5558,7 +5558,9 @@ var FormIconGdiObject: PGDIObject;
Decor, Func : Longint; Decor, Func : Longint;
AWindow: PGdkWindow; AWindow: PGdkWindow;
ACustomForm: TCustomForm; ACustomForm: TCustomForm;
{$IFDEF Gtk1}
AWindowPrivate: PGdkWindowPrivate; AWindowPrivate: PGdkWindowPrivate;
{$ENDIF}
begin begin
if not (Sender is TWinControl) then if not (Sender is TWinControl) then
RaiseWrongClass; RaiseWrongClass;