Zitat von Roland Turcan <[EMAIL PROTECTED]>:

> Hello General mailing list!
>
> I have few components based on TScrollingWinControl, but under GTK2
> an exception is called in
>
> 1. unit      gtkproc.inc
> 2. procedure ConnectSignal(const AnObject:PGTKObject; const ASignal: PChar;
> 3. line      HasRealizeSignal:=g_signal_lookup('realize',
> GTK_OBJECT_TYPE(AnObject))>0;
>
>
> The code to reproduce it:
>
>    with TScrollingWinControl.Create(self) do begin
>     Parent := self;

TScrollingWinControl is only a base class and has no implementation in gtk2.

>   end;
>
> ... and the parent is just TForm.
>
> What is going on, or what else should be set on GTK2 not to have that
> exception.

Create a form or frame or customcontrol instead.

Mattias

_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to