From: John L. <jla...@gm...> - 2006-04-17 04:05:11
|
On 4/16/06, Leandro Motta Barros <lmb...@gm...> wrote: > As I said about a week earlier, I'm currently converting a personal > project I was working on from C++/wxWidgets to wxLua. (And so far, > things are going pretty well.) Great! > I just realized, though, that I was using some methods of > 'wxScrollableWindow' that were not being exposed to Lua. So, I added > them (and some other related methods) to > 'bindings/wxwidgets/windows.i', re-ran 'genwxbind.sh' and recompiled > wxLua. Looks like it worked. The bindings I hope are pretty easy to understand and add things like this. It's really only functions like "void GetViewStart(int* x, int* y) const" that are a little tricky since you can't pass values by pointers or reference in lua so we make functions like this return two values. On and off I go through the bindings and try to bring them up to date, but it's slow going... > I'm sending the addition as a patch, attached to this email (I don't > know if you have an official policy for contributions; if you do, > please tell me). Please, consider adding this to next release > (assuming that I did the things right, of course!) We have a patch manager at sourceforge http://sourceforge.net/tracker/?group_id=3D140042&atid=3D745326 but for small patches like this it's probably easiest to send them like you= did. I've applied it and we should have another release by the end of this week if things go as planned. Thanks, John Labenski |