I have this xrc object working
cpp: class MyCaption : public wxStaticText {};
xrc: <object class="wxStaticText" name="caption" subclass="MyCaption">
</object>
But, if I change the base class to wxControl, xrc fails to instantiate
the class.
cpp: class MyCaption : public wxControl {};
xrc: <object class="wxControl" name="caption" subclass="MyCaption">
</object>
Apparantly xrc doesn't like wxControl as base class or??
Thanks
Troels
No, there is no XRC handler for a wxControl (and it wouldn't make much
sense to have one AFAICS, what would it do?).
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
I suppose not. Do I really have to write a new xrc handler then, for
MyCaption, in the case of not deriving from a stock widget?
Thanks
Troels