From: xteo <xt...@xt...> - 2006-04-24 12:12:14
|
> > I want to use wxGLCanvas but althoug there is some reference to it in : bindings/wxwidgets/override.hpp > > I get a 'attempt to call field `wxGLCanvas' (a nil value)' error ? > > > > I guess its not fully impelemted yet , any plan on that ? what does it involve I am quite Happy > > trying to do it , do I need to write on openGL.i file ? > > Thanks for the offer, but since I'm already working on the bindings I > just added it to gdi.i. You'll have to use CVS to get it. Note that it > sometimes takes a little while for Sourceforge to get updated so be > patient. thanks for that , Sourceforge CVS isn`t updated yet so I couldn`t try it yet . > > alternatively we have our own class wrap around a lua_state that register command and userdata object , > > Is there anything about the wxLuaState that is missing that's also > generally useful that your class wrapper has that we should add? not that I can see , our wrapper class is fairly small . > > would it be possible for us to 'register' wxlua using the API ? if yes where should I look for exemple ? > Look at bool wxLuaState::Create(wxEvtHandler *handler, wxWindowID id) > to see what functions are called to add the bindings. I had a look , but I need to get a little more familiar with wxWidget API to really get my head around that . do you think that in order to 'register' wxLua in the lua_state I need to have some sort of wxApp object somewhere in memory ? I will try to get some free time to look after that , my guess is this wouldn`t be very different from creating a lua 5.1 module for wxLua ... I will let you know if I get anywhere thanks damien |