Hey Osei,

2008/12/19 Osei Simba Hinds <[email protected]>:
> I am working on creating a customised extended Ext::Panel and I am getting
> errors when I run (it compiles fine) my code and start a session.  The
> constructor of the sub class is below:-
>
> When the session fails depending on how i comment certain blocks out I get
> either a "Segmentation fault" error or "assert failed" in the WContainer
> class (I believe its somewhere within the setimplementation block that takes
> a layout item).

Would it be possible to turn this into a test case that shows the
assertion failed (or segfault) problem ?

> "...This layout manager is applicable only to WContainerWidget container
> widgets. You may use it within an Ext::Container indirectly by first setting
> a WContainerWidget using a WFitLayout."
>
> note from the documentation but I am not sure if this may be a reason since
> I try to indirectly assign the layout to the Ext::Panel.  There seems to be
> an issue with layout managers and Ext::Panels.

No, and from first inspection, I do not see a mistake in your code.

Regards,
koen

------------------------------------------------------------------------------
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to