From: John L. <jla...@gm...> - 2006-05-31 03:17:30
|
On 5/30/06, Steve Kieu <ha...@ya...> wrote: > I want to use wxLuaHtmlWindow in XRC. But if I add somthing like > > <object class="wxHtmlWindow" name="ID_HTMLWINDOW" > subclass="wxLuaHtmlWindow"> > > when loaded it said it can not find the subclass wxLuaHtmlWindow. This is because the wxLuaHtmlWindow is a subclassed wxHtmlWindow. Isn't there a way to have XRC create a window from the wxClassInfo's name? Sorry I've never used XRC resources myself. See the wxWidgets technote 14, docs/tn0014.txt and search for <object name="MyList1" class="wxListCtrl" subclass="MyListCtrlClass"> Regards, John Labenski |