Hey Janne,

2010/11/18 Janne Rönkkö <[email protected]>:
> Hi,
>
> I would suggest that you store the WText pointers to some other place
> and access those widgets from there. You might not even need to store
> the WTable pointer (depends what you are doing and how are you doing it).
>
> In my opinion using dynamic_cast can indeed solve the problem, and might
> even look like an elegant solution but in the long run using
> dynamic_cast will probably just cause more issues.  For example, if

I agree. Then there is either this approach, or use
WWidget::setObjectName() and WWidget::find() to locate a particular
descendent widget.

Regards,
koen

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to