Re: [wxlua-users] Issues with sizers and wxLua on Linux

2008-01-07 Thread Ryan Pusztai
On Jan 7, 2008 2:27 PM, John Labenski <[EMAIL PROTECTED]> wrote: > These are common in wxWidgets in GTK even with C++ code. All it means > in this case is that the wxSizer is trying to size the wxFrame or > wxButton before it had a chance to get a valid size so it's using > wx.wxDefaultSize = (-1,

Re: [wxlua-users] wrap acces violation

2008-01-07 Thread John Labenski
On Jan 7, 2008 5:27 AM, Klaas Holwerda <[EMAIL PROTECTED]> wrote: > > Euuh, no it crashes exactly as the stack above shows, luaO_rawequalObj, put i > think the damage is already done at/before that moment. > For some reason i think what is done in wxluaT_pushuserdatatype is ruining > the rest. >

Re: [wxlua-users] Issues with sizers and wxLua on Linux

2008-01-07 Thread John Labenski
On Jan 5, 2008 2:25 PM, Ryan Pusztai <[EMAIL PROTECTED]> wrote: > I am getting all kinds of errors when using the wxLua Lua module in Linux. > In the Terminal I see errors for sizing upon creation. Here are the errors I > get when running: > > > $ lua luamodule.wx.lua > > > > (:30818): Gtk-CRITICAL

Re: [wxlua-users] genwxbind.bat errors

2008-01-07 Thread John Labenski
On Jan 7, 2008 6:10 AM, Klaas Holwerda <[EMAIL PROTECTED]> wrote: > Hi, > > Don't know if its bad, but i get this: > > C:\data\art2d\wxluacvs\wxLua\bindings>genwxbind.bat > Generating wxWidgets Binding > ..\bin\vc_lib\lua.exe: genwxbind.lua:4882: attempt to get length of global > 'inte > rface_fil

Re: [wxlua-users] wrap acces violation

2008-01-07 Thread Klaas Holwerda
Hi John, I managed to change the wxLuaCan sample to create the same error. If you unpack the source code in the attached file, to apps/wxluacan/src, and run the sample, you get it. The two pointers are: wxlLuaCanCmd* wxlLuaCanCmd1; wxlLuaCanCmd* wxlLuaCanCmd2; And in wxluacan.i they are wrappe

[wxlua-users] genwxbind.bat errors

2008-01-07 Thread Klaas Holwerda
Hi, Don't know if its bad, but i get this: C:\data\art2d\wxluacvs\wxLua\bindings>genwxbind.bat Generating wxWidgets Binding ..\bin\vc_lib\lua.exe: genwxbind.lua:4882: attempt to get length of global 'inte rface_fileTable' (a nil value) stack traceback: genwxbind.lua:4882: in function 'ma

Re: [wxlua-users] wrap acces violation

2008-01-07 Thread Klaas Holwerda
Hi John, Latest CVS, but still not :-( John Labenski wrote: > It is normal that it can't find the object when you're registering the > bindings since it's being push for the first time. The whole idea > behind the check for wxluaO_istrackedweakobject() is that we don't > want to create multiple

Re: [wxlua-users] Building wxLua CVS on Linux

2008-01-07 Thread Klaas Holwerda
Ryan Pusztai wrote: > > Check to see if you have these two libs > libwx_gtk2ud_gl-2.8.so.0.3.0 > libwx_gtk2ud_media-2.8.so.0.3.0 oke. You should check the configuration wxLua tries to find/uses. On the command line: wx-config --libs wx-config --selected_config Try also wx-config