From: John L. <jla...@gm...> - 2006-02-06 20:39:16
|
On 2/6/06, Francesco Montorsi <f18...@ya...> wrote: > >> 2) wxluacan app works nicely but wxluaapp still crashes at startup > >> with the same error I got from unix version... > >> > > Only when running a script, there is still the same problem of object > > added in lua and destroyed in c++. > > But this is just a wxLua bug. > I'd like to help you and John to solve this but I still have much to > learn with wxLua. I can take a look at the bindings tonight. You have to be careful about using %delete since if you use it wxLua will delete the object for you, something you don't want for wxWindow derived classes or objects that are managed in some other code. -John Labenski |