On 14/03/2008, ik <[EMAIL PROTECTED]> wrote:
> For documentation, look for xlib, and for each specific module you
> require you have different documentation.
>
> Ido
Hi Ido,
That example doesn't compile because your class is defined as TWindow,
which conflicts with TWindow defined in x.pp
Simply changing your classl name from TWindow to TMyWindow should do the trick.
eg:
type
TWindow = class
private
display : pDisplay;
RootWindow : TWindow; // <<<---- conficting
CurrentWindow : TWindow; // <<<---- conficting
public
....
becomes
type
TMyWindow = class
private
display : pDisplay;
RootWindow : TWindow;
CurrentWindow : TWindow;
public
...
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
_______________________________________________
fpc-pascal maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal