From: John L. <jla...@gm...> - 2013-09-04 03:29:24
|
On Tue, Sep 3, 2013 at 4:02 PM, Milind Gupta <mil...@gm...> wrote: > Hi, > I am looking and learning how to create rich text binding in wxlua. > I have a lot of questions > > 1. Are all the interface files that are used by the genwxbind program in > the bindings/wxlua directory? There doesn't seem to be a lot of them there? > Yes, they're all there. > 2. I do see a rich text interface file, can I start from there? What is it > missing so that it was not included in wxlua yet? > There probably are a few things missing now, but more importantly there is surely some work needed to make it compile. As the wxrichtext_richtext.i file says, it is mostly copied from the wxWidgets headers, but typically I have to massage the function signatures to simplify them for the binding generator. > 3. If I create an interface file, I need all the interface files and then > run genwxbind to generate the C code and then compile it to get the final > executables and libraries? > Start from the existing one, note that most of it is remmed out /* ... */ and try to add bits at a time until it works. See the Makefile or genwxbind.bat files to see how to regenerate the bindings. I don't remember anymore, but I probably didn't finish it since I've never used that control myself and don't know what parts are important and what can be skipped. Regards, John |