> subclass="wxLuaHtmlWindow">
>
> when loaded it said it can not find the subclass wxLuaHtmlWindow.
This is because the wxLuaHtmlWindow is a subclassed wxHtmlWindow.
A similar example, I got my custom
textCtrl : public wxTextCtrl
(add drop down list val). I export it to wxLua use genwxbind. Then use XRC ; the class be wxTextCtrl and subclass is sk_TextCtrl. It worked. (mean no error, can DynamicCast("sk_TextCtrl") in lua,
I thought it should work with wxLuaHtml as well, I had a look at wxhtmlwin.cpp it is similar in my case.
but somehow XRC handler can not find it.
Anyway If I want to do that way probably I have to write custom XRC handler for wxLuaHtml .
Cheers,
S.KIEU
---------------------------------
Do you Yahoo!?
Yahoo! Personals: It's free to check out our great singles! |